Skip to content

Commit

Permalink
Merge pull request #1690 from cygnus8595/instance-attachment-bc
Browse files Browse the repository at this point in the history
Rename instance attachment to match versions 23 and earlier
  • Loading branch information
apichick authored Sep 20, 2023
2 parents 82fcd5a + c4c851c commit 67f5cdc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/apigee/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ resource "google_apigee_nat_address" "apigee_nat" {
resource "google_apigee_instance_attachment" "instance_attachments" {
for_each = merge(concat([for k1, v1 in var.instances : {
for v2 in coalesce(v1.environments, []) :
"${v2}-${k1}" => {
"${k1}-${v2}" => {
instance = k1
environment = v2
}
Expand Down

0 comments on commit 67f5cdc

Please sign in to comment.