From 45b78ab4687a6f6b40dcebba8c29f0644e8fcaf5 Mon Sep 17 00:00:00 2001 From: Greg Aker Date: Thu, 28 Jul 2016 15:38:09 -0500 Subject: [PATCH] Add enable_cdn to google_compute_backend_service. Add the ability to add/remove the Cloud CDN configuration option on a backend service. --- r/compute_backend_service.html.markdown | 3 +++ 1 file changed, 3 insertions(+) diff --git a/r/compute_backend_service.html.markdown b/r/compute_backend_service.html.markdown index 9bfbe3bd..4b578fdc 100644 --- a/r/compute_backend_service.html.markdown +++ b/r/compute_backend_service.html.markdown @@ -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.