Skip to content

Commit 78919fc

Browse files
committed
Reference variable within network resource
1 parent 8aa885f commit 78919fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
resource "google_compute_network" "network" {
2121
name = "${var.network_name}"
2222
auto_create_subnetworks = "false"
23-
routing_mode = "GLOBAL"
23+
routing_mode = "${var.routing_mode}"
2424
project = "${var.project_id}"
2525
}
2626

0 commit comments

Comments
 (0)