Skip to content

Commit a61f6a7

Browse files
fix: dynamic master authorized networks blocks (#47)
1 parent 778d540 commit a61f6a7

File tree

1 file changed

+2
-2
lines changed
  • modules/create_environment_v2

1 file changed

+2
-2
lines changed

modules/create_environment_v2/main.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,8 +138,8 @@ resource "google_composer_environment" "composer_env" {
138138
dynamic "cidr_blocks" {
139139
for_each = master_authorized_networks_config.value["cidr_blocks"]
140140
content {
141-
cidr_block = master_authorized_networks_config.value["cidr_block"]
142-
display_name = master_authorized_networks_config.value["display_name"]
141+
cidr_block = cidr_blocks.value["cidr_block"]
142+
display_name = cidr_blocks.value["display_name"]
143143
}
144144
}
145145
}

0 commit comments

Comments
 (0)