Skip to content

Commit

Permalink
Fix missing region in infrastructure imports
Browse files Browse the repository at this point in the history
  • Loading branch information
klejejs committed Sep 26, 2024
1 parent 532ac18 commit 85d37fa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions stun_server/region/ecs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ resource "aws_ecs_service" "stun-server" {
assign_public_ip = true
security_groups = [aws_security_group.stun_sg.id]
subnets = [
data.tfe_outputs.infrastructure.values.public_subnets[0],
data.tfe_outputs.infrastructure.values.public_subnets[1]
data.tfe_outputs.infrastructure.values[data.aws_region.current.name].public_subnets[0],
data.tfe_outputs.infrastructure.values[data.aws_region.current.name].public_subnets[1]
]
}
}
Expand Down

0 comments on commit 85d37fa

Please sign in to comment.