You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description: `URLs to certificate manager certificate resources that are used to authenticate connections between users and the load balancer.
81
+
Currently, you may specify up to 15 certificates. Certificate manager certificates do not apply when the load balancing scheme is set to INTERNAL_SELF_MANAGED.
82
+
sslCertificates and certificateManagerCertificates fields can not be defined together.
83
+
Accepted format is '//certificatemanager.googleapis.com/projects/{project}/locations/{location}/certificates/{resourceName}' or just the self_link 'projects/{project}/locations/{location}/certificates/{resourceName}'`,
84
+
Elem: &schema.Schema{
85
+
Type: schema.TypeString,
86
+
},
87
+
ConflictsWith: []string{"ssl_certificates"},
88
+
},
85
89
"description": {
86
90
Type: schema.TypeString,
87
91
Optional: true,
@@ -97,6 +101,18 @@ to the RegionBackendService.`,
97
101
Description: `The Region in which the created target https proxy should reside.
98
102
If it is not provided, the provider region is used.`,
99
103
},
104
+
"ssl_certificates": {
105
+
Type: schema.TypeList,
106
+
Optional: true,
107
+
Description: `URLs to SslCertificate resources that are used to authenticate connections between users and the load balancer.
108
+
At least one SSL certificate must be specified. Currently, you may specify up to 15 SSL certificates.
109
+
sslCertificates do not apply when the load balancing scheme is set to INTERNAL_SELF_MANAGED.`,
// Any full URL will be passed to the API request (regardless of the resource type). This is to allow self_links of CertificateManagerCeritificate resources.
614
+
// If the full URL is an invalid reference, that should be handled by the API.
// If the input is the id pattern of CertificateManagerCertificate resource, a prefix will be added to construct the full URL before constructing the API request.
returnnil, fmt.Errorf("Invalid value for certificate_manager_certificates: %v is an invalid format for a certificateManagerCertificate resource", raw.(string))
622
+
}
623
+
}
624
+
returnreq, nil
625
+
}
626
+
550
627
funcexpandComputeRegionTargetHttpsProxySslCertificates(vinterface{}, d tpgresource.TerraformResourceData, config*transport_tpg.Config) (interface{}, error) {
551
628
l:=v.([]interface{})
552
629
req:=make([]interface{}, 0, len(l))
@@ -586,3 +663,34 @@ func expandComputeRegionTargetHttpsProxyRegion(v interface{}, d tpgresource.Terr
// It is enough to check only the type of one of the provided certificates beacuse all the certificates should be the same type.
690
+
log.Printf("[DEBUG] The field sslCertificates contains certificateManagerCertificates, the field name will be converted to certificateManagerCertificates")
certificate_manager_certificates = ["//certificatemanager.googleapis.com/${google_certificate_manager_certificate.default.id}"] # [google_certificate_manager_certificate.default.id] is also acceptable
certificate_manager_certificates = ["//certificatemanager.googleapis.com/${google_certificate_manager_certificate.default.id}"] # [google_certificate_manager_certificate.default.id] is also acceptable
@@ -110,12 +148,6 @@ The following arguments are supported:
110
148
characters must be a dash, lowercase letter, or digit, except the last
111
149
character, which cannot be a dash.
112
150
113
-
*`ssl_certificates` -
114
-
(Required)
115
-
A list of RegionSslCertificate resources that are used to authenticate
116
-
connections between users and the load balancer. Currently, exactly
117
-
one SSL certificate must be specified.
118
-
119
151
*`url_map` -
120
152
(Required)
121
153
A reference to the RegionUrlMap resource that defines the mapping from URL
@@ -129,6 +161,19 @@ The following arguments are supported:
129
161
(Optional)
130
162
An optional description of this resource.
131
163
164
+
*`certificate_manager_certificates` -
165
+
(Optional)
166
+
URLs to certificate manager certificate resources that are used to authenticate connections between users and the load balancer.
167
+
Currently, you may specify up to 15 certificates. Certificate manager certificates do not apply when the load balancing scheme is set to INTERNAL_SELF_MANAGED.
168
+
sslCertificates and certificateManagerCertificates fields can not be defined together.
169
+
Accepted format is `//certificatemanager.googleapis.com/projects/{project}/locations/{location}/certificates/{resourceName}` or just the self_link `projects/{project}/locations/{location}/certificates/{resourceName}`
170
+
171
+
*`ssl_certificates` -
172
+
(Optional)
173
+
URLs to SslCertificate resources that are used to authenticate connections between users and the load balancer.
174
+
At least one SSL certificate must be specified. Currently, you may specify up to 15 SSL certificates.
175
+
sslCertificates do not apply when the load balancing scheme is set to INTERNAL_SELF_MANAGED.
176
+
132
177
*`ssl_policy` -
133
178
(Optional)
134
179
A reference to the Region SslPolicy resource that will be associated with
0 commit comments