From 8f35afc09806b4ee56b8d85fe94b2061c8b82824 Mon Sep 17 00:00:00 2001 From: The Magician Date: Tue, 16 Feb 2021 15:54:47 -0800 Subject: [PATCH] Allow multiple SSL Certificates on SSL Proxy LBs (#4499) (#8478) * mark field as updatable Co-authored-by: upodroid * remove ssl proxy limit Co-authored-by: upodroid Signed-off-by: Modular Magician Co-authored-by: upodroid --- .changelog/4499.txt | 3 +++ google/resource_compute_target_ssl_proxy.go | 5 ++--- website/docs/r/compute_target_ssl_proxy.html.markdown | 4 ++-- 3 files changed, 7 insertions(+), 5 deletions(-) create mode 100644 .changelog/4499.txt diff --git a/.changelog/4499.txt b/.changelog/4499.txt new file mode 100644 index 00000000000..64bb9e89db0 --- /dev/null +++ b/.changelog/4499.txt @@ -0,0 +1,3 @@ +```release-note:enhancement +compute: removed max items limit from `google_compute_target_ssl_proxy`. The API currently allows upto 15 Certificates. +``` diff --git a/google/resource_compute_target_ssl_proxy.go b/google/resource_compute_target_ssl_proxy.go index b7217644bae..bb99e2b0c61 100644 --- a/google/resource_compute_target_ssl_proxy.go +++ b/google/resource_compute_target_ssl_proxy.go @@ -65,9 +65,8 @@ character, which cannot be a dash.`, Type: schema.TypeList, Required: true, Description: `A list of SslCertificate resources that are used to authenticate -connections between users and the load balancer. Currently, exactly -one SSL certificate must be specified.`, - MaxItems: 1, +connections between users and the load balancer. At least one +SSL certificate must be specified.`, Elem: &schema.Schema{ Type: schema.TypeString, DiffSuppressFunc: compareSelfLinkOrResourceName, diff --git a/website/docs/r/compute_target_ssl_proxy.html.markdown b/website/docs/r/compute_target_ssl_proxy.html.markdown index ec008601324..5b2ef76edeb 100644 --- a/website/docs/r/compute_target_ssl_proxy.html.markdown +++ b/website/docs/r/compute_target_ssl_proxy.html.markdown @@ -94,8 +94,8 @@ The following arguments are supported: * `ssl_certificates` - (Required) A list of SslCertificate resources that are used to authenticate - connections between users and the load balancer. Currently, exactly - one SSL certificate must be specified. + connections between users and the load balancer. At least one + SSL certificate must be specified. - - -