Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add securitySettings to the backendService #9797

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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