mirror of
https://github.com/letic/terraform-provider-google.git
synced 2024-09-16 08:10:02 +00:00
Add enable_cdn to google_compute_backend_service.
Add the ability to add/remove the Cloud CDN configuration option on a backend service.
This commit is contained in:
parent
895465d9c3
commit
45b78ab468
@ -19,6 +19,7 @@ resource "google_compute_backend_service" "foobar" {
|
|||||||
port_name = "http"
|
port_name = "http"
|
||||||
protocol = "HTTP"
|
protocol = "HTTP"
|
||||||
timeout_sec = 10
|
timeout_sec = 10
|
||||||
|
enable_cdn = false
|
||||||
|
|
||||||
backend {
|
backend {
|
||||||
group = "${google_compute_instance_group_manager.foo.instance_group}"
|
group = "${google_compute_instance_group_manager.foo.instance_group}"
|
||||||
@ -74,6 +75,8 @@ The following arguments are supported:
|
|||||||
|
|
||||||
* `description` - (Optional) The textual description for the backend service.
|
* `description` - (Optional) The textual description for the backend service.
|
||||||
|
|
||||||
|
* `enable_cdn` - (Optional) Whether or not to enable the Cloud CDN on the backend service.
|
||||||
|
|
||||||
* `port_name` - (Optional) The name of a service that has been added to an
|
* `port_name` - (Optional) The name of a service that has been added to an
|
||||||
instance group in this backend. See [related docs](https://cloud.google.com/compute/docs/instance-groups/#specifying_service_endpoints) for details. Defaults to http.
|
instance group in this backend. See [related docs](https://cloud.google.com/compute/docs/instance-groups/#specifying_service_endpoints) for details. Defaults to http.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user