From 79ec7261b1cd96fe8cb853951bf961e5e1e72f13 Mon Sep 17 00:00:00 2001 From: Modular Magician Date: Tue, 28 Sep 2021 16:24:56 +0000 Subject: [PATCH] docs: use urlencode function (#5205) Signed-off-by: Modular Magician --- .changelog/5205.txt | 2 ++ .../r/service_usage_consumer_quota_override.html.markdown | 8 ++++---- 2 files changed, 6 insertions(+), 4 deletions(-) create mode 100644 .changelog/5205.txt diff --git a/.changelog/5205.txt b/.changelog/5205.txt new file mode 100644 index 00000000000..e4e22fc1e47 --- /dev/null +++ b/.changelog/5205.txt @@ -0,0 +1,2 @@ +```release-note:none +``` diff --git a/website/docs/r/service_usage_consumer_quota_override.html.markdown b/website/docs/r/service_usage_consumer_quota_override.html.markdown index 169a70808e7..646685b5e37 100644 --- a/website/docs/r/service_usage_consumer_quota_override.html.markdown +++ b/website/docs/r/service_usage_consumer_quota_override.html.markdown @@ -50,8 +50,8 @@ resource "google_service_usage_consumer_quota_override" "override" { provider = google-beta project = google_project.my_project.project_id service = "servicemanagement.googleapis.com" - metric = "servicemanagement.googleapis.com%2Fdefault_requests" - limit = "%2Fmin%2Fproject" + metric = urlencode("servicemanagement.googleapis.com/default_requests") + limit = urlencode("/min/project") override_value = "95" force = true } @@ -74,8 +74,8 @@ resource "google_service_usage_consumer_quota_override" "override" { } project = google_project.my_project.project_id service = "compute.googleapis.com" - metric = "compute.googleapis.com%2Fn2_cpus" - limit = "%2Fproject%2Fregion" + metric = urlencode("compute.googleapis.com/n2_cpus") + limit = urlencode("/project/region") override_value = "8" force = true }