Skip to content

Commit

Permalink
Add securitySettings to the backendService (#5003) (#9797)
Browse files Browse the repository at this point in the history
Signed-off-by: Modular Magician <[email protected]>
  • Loading branch information
modular-magician authored Aug 12, 2021
1 parent c20037a commit 436f605
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .changelog/5003.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:enhancement
compute: added support for `security_settings` to `google_compute_backend_service`
```
22 changes: 22 additions & 0 deletions website/docs/r/compute_backend_service.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -375,6 +375,14 @@ The following arguments are supported:
(Optional)
The security policy associated with this backend service.

* `security_settings` -
(Optional, [Beta](https://terraform.io/docs/providers/google/guides/provider_versions.html))
The security settings that apply to this backend service. This field is applicable to either
a regional backend service with the service_protocol set to HTTP, HTTPS, or HTTP2, and
load_balancing_scheme set to INTERNAL_MANAGED; or a global backend service with the
load_balancing_scheme set to INTERNAL_SELF_MANAGED.
Structure is documented below.

* `session_affinity` -
(Optional)
Type of session affinity to use. The default is NONE. Session affinity is
Expand Down Expand Up @@ -811,6 +819,20 @@ The `interval` block supports:
less than one second are represented with a 0 `seconds` field and a positive
`nanos` field. Must be from 0 to 999,999,999 inclusive.

The `security_settings` block supports:

* `client_tls_policy` -
(Required, [Beta](https://terraform.io/docs/providers/google/guides/provider_versions.html))
ClientTlsPolicy is a resource that specifies how a client should authenticate
connections to backends of a service. This resource itself does not affect
configuration unless it is attached to a backend service resource.

* `subject_alt_names` -
(Required, [Beta](https://terraform.io/docs/providers/google/guides/provider_versions.html))
A list of alternate names to verify the subject identity in the certificate.
If specified, the client will verify that the server certificate's subject
alt name matches one of the specified values.

The `log_config` block supports:

* `enable` -
Expand Down

0 comments on commit 436f605

Please sign in to comment.