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:
Greg Aker 2016-07-28 15:38:09 -05:00
parent 895465d9c3
commit 45b78ab468

View File

@ -19,6 +19,7 @@ resource "google_compute_backend_service" "foobar" {
port_name = "http"
protocol = "HTTP"
timeout_sec = 10
enable_cdn = false
backend {
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.
* `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
instance group in this backend. See [related docs](https://cloud.google.com/compute/docs/instance-groups/#specifying_service_endpoints) for details. Defaults to http.