Skip to content

Commit

Permalink
Remove 0.11 syntax from the upgrade guide examples (#4942)
Browse files Browse the repository at this point in the history
Signed-off-by: Modular Magician <[email protected]>
  • Loading branch information
modular-magician authored and chrisst committed Nov 27, 2019
1 parent 4a6da76 commit e9aa873
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions website/docs/guides/version_3_upgrade.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
}
Expand All @@ -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
}
}
```
Expand Down Expand Up @@ -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
}
```

Expand All @@ -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
}
}
```
Expand Down Expand Up @@ -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
}
Expand All @@ -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"
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit e9aa873

Please sign in to comment.