From d2a3e3103647b492b915e77e1b210edda5242fee Mon Sep 17 00:00:00 2001 From: The Magician Date: Fri, 4 Nov 2022 12:24:46 -0700 Subject: [PATCH] compute: Allow setting both ssl_certificates and certificate_map (#6770) (#12950) Signed-off-by: Modular Magician Signed-off-by: Modular Magician --- .changelog/6770.txt | 3 +++ google/resource_compute_target_https_proxy.go | 2 -- 2 files changed, 3 insertions(+), 2 deletions(-) create mode 100644 .changelog/6770.txt diff --git a/.changelog/6770.txt b/.changelog/6770.txt new file mode 100644 index 00000000000..f2e3a2ddf19 --- /dev/null +++ b/.changelog/6770.txt @@ -0,0 +1,3 @@ +```release-note:bug +compute: made `target_https_proxy` possible to set `ssl_certificates` and `certificate_map` at the same time +``` diff --git a/google/resource_compute_target_https_proxy.go b/google/resource_compute_target_https_proxy.go index 987aca14d14..2bf174ba92e 100644 --- a/google/resource_compute_target_https_proxy.go +++ b/google/resource_compute_target_https_proxy.go @@ -66,7 +66,6 @@ to the BackendService.`, Description: `A reference to the CertificateMap resource uri that identifies a certificate map associated with the given target proxy. This field can only be set for global target proxies. Accepted format is '//certificatemanager.googleapis.com/projects/{project}/locations/{location}/certificateMaps/{resourceName}'.`, - ExactlyOneOf: []string{"ssl_certificates", "certificate_map"}, }, "description": { Type: schema.TypeString, @@ -103,7 +102,6 @@ certificate must be specified.`, Type: schema.TypeString, DiffSuppressFunc: compareSelfLinkOrResourceName, }, - ExactlyOneOf: []string{"ssl_certificates", "certificate_map"}, }, "ssl_policy": { Type: schema.TypeString,