From a7c32112ef082d30e290464c08be5a2f9c576944 Mon Sep 17 00:00:00 2001 From: The Magician Date: Wed, 7 Sep 2022 10:35:39 -0700 Subject: [PATCH] fixed the alias form of secret name (#6461) (#12492) Signed-off-by: Modular Magician Signed-off-by: Modular Magician --- .changelog/6461.txt | 2 ++ google/resource_cloud_run_service.go | 4 ++-- website/docs/r/cloud_run_service.html.markdown | 4 ++-- 3 files changed, 6 insertions(+), 4 deletions(-) create mode 100644 .changelog/6461.txt diff --git a/.changelog/6461.txt b/.changelog/6461.txt new file mode 100644 index 00000000000..e4e22fc1e47 --- /dev/null +++ b/.changelog/6461.txt @@ -0,0 +1,2 @@ +```release-note:none +``` diff --git a/google/resource_cloud_run_service.go b/google/resource_cloud_run_service.go index 1738e01d2e4..1ec44dede0a 100644 --- a/google/resource_cloud_run_service.go +++ b/google/resource_cloud_run_service.go @@ -435,7 +435,7 @@ the file is the secret_name.`, is assumed to be in the same project. If the secret is in another project, you must define an alias. An alias definition has the form: -:projects//secrets/. +{alias}:projects/{project-id|project-number}/secrets/{secret-name}. If multiple alias definitions are needed, they must be separated by commas. The alias definitions must be set on the run.googleapis.com/secrets @@ -841,7 +841,7 @@ version or an integer for a specific version.`, Required: true, Description: `The name of the secret in Cloud Secret Manager. By default, the secret is assumed to be in the same project. If the secret is in another project, you must define an alias. -An alias definition has the form: :projects//secrets/. +An alias definition has the form: :projects/{project-id|project-number}/secrets/. If multiple alias definitions are needed, they must be separated by commas. The alias definitions must be set on the run.googleapis.com/secrets annotation.`, }, diff --git a/website/docs/r/cloud_run_service.html.markdown b/website/docs/r/cloud_run_service.html.markdown index 9e9d388e690..54f7a88a262 100644 --- a/website/docs/r/cloud_run_service.html.markdown +++ b/website/docs/r/cloud_run_service.html.markdown @@ -555,7 +555,7 @@ The following arguments are supported: (Required) The name of the secret in Cloud Secret Manager. By default, the secret is assumed to be in the same project. If the secret is in another project, you must define an alias. - An alias definition has the form: :projects//secrets/. + An alias definition has the form: :projects/{project-id|project-number}/secrets/. If multiple alias definitions are needed, they must be separated by commas. The alias definitions must be set on the run.googleapis.com/secrets annotation. @@ -622,7 +622,7 @@ The following arguments are supported: is assumed to be in the same project. If the secret is in another project, you must define an alias. An alias definition has the form: - :projects//secrets/. + {alias}:projects/{project-id|project-number}/secrets/{secret-name}. If multiple alias definitions are needed, they must be separated by commas. The alias definitions must be set on the run.googleapis.com/secrets