From e9aa8730d945fe69febb974c32ec61f98cd07d3c Mon Sep 17 00:00:00 2001 From: The Magician Date: Mon, 18 Nov 2019 12:12:19 -0800 Subject: [PATCH] Remove 0.11 syntax from the upgrade guide examples (#4942) Signed-off-by: Modular Magician --- .../guides/version_3_upgrade.html.markdown | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/website/docs/guides/version_3_upgrade.html.markdown b/website/docs/guides/version_3_upgrade.html.markdown index 95758598858..0196304a7aa 100644 --- a/website/docs/guides/version_3_upgrade.html.markdown +++ b/website/docs/guides/version_3_upgrade.html.markdown @@ -350,7 +350,7 @@ resource "google_cloudiot_registry" "myregistry" { name = "%s" event_notification_config { - pubsub_topic_name = "${google_pubsub_topic.event-topic.id}" + pubsub_topic_name = google_pubsub_topic.event-topic.id } } @@ -363,7 +363,7 @@ resource "google_cloudiot_registry" "myregistry" { name = "%s" event_notification_configs { - pubsub_topic_name = "${google_pubsub_topic.event-topic.id}" + pubsub_topic_name = google_pubsub_topic.event-topic.id } } ``` @@ -602,7 +602,7 @@ resource "google_compute_instance_group_manager" "my_igm" { zone = "us-central1-c" base_instance_name = "igm" - instance_template = "${google_compute_instance_template.my_tmpl.self_link}" + instance_template = google_compute_instance_template.my_tmpl.self_link } ``` @@ -616,7 +616,7 @@ resource "google_compute_instance_group_manager" "my_igm" { version { name = "prod" - instance_template = "${google_compute_instance_template.my_tmpl.self_link}" + instance_template = google_compute_instance_template.my_tmpl.self_link } } ``` @@ -868,7 +868,7 @@ resource "google_compute_subnetwork" "subnet-with-logging" { name = "log-test-subnetwork" ip_cidr_range = "10.2.0.0/16" region = "us-central1" - network = "${google_compute_network.custom-test.self_link}" + network = google_compute_network.custom-test.self_link enable_flow_logs = true } @@ -882,7 +882,7 @@ resource "google_compute_subnetwork" "subnet-with-logging" { name = "log-test-subnetwork" ip_cidr_range = "10.2.0.0/16" region = "us-central1" - network = "${google_compute_network.custom-test.self_link}" + network = google_compute_network.custom-test.self_link log_config { aggregation_interval = "INTERVAL_10_MIN" @@ -997,7 +997,7 @@ resource "google_compute_network" "container_network" { resource "google_container_cluster" "primary" { name = "my-cluster" location = "us-central1" - network = "${google_compute_network.container_network.name}" + network = google_compute_network.container_network.name initial_node_count = 1 @@ -1024,14 +1024,14 @@ resource "google_compute_subnetwork" "container_subnetwork" { description = "auto-created subnetwork for cluster \"my-cluster\"" ip_cidr_range = "10.2.0.0/16" region = "us-central1" - network = "${google_compute_network.container_network.self_link}" + network = google_compute_network.container_network.self_link } resource "google_container_cluster" "primary" { name = "my-cluster" location = "us-central1" - network = "${google_compute_network.container_network.name}" - subnetwork = "${google_compute_subnetwork.container_subnetwork.name}" + network = google_compute_network.container_network.name + subnetwork = google_compute_subnetwork.container_subnetwork.name initial_node_count = 1