diff --git a/stun_server/region/ecs.tf b/stun_server/region/ecs.tf index 661b94b..6240e27 100644 --- a/stun_server/region/ecs.tf +++ b/stun_server/region/ecs.tf @@ -20,6 +20,10 @@ resource "aws_ecs_service" "stun-server" { data.tfe_outputs.infrastructure.values[data.aws_region.current.name].public_subnets[1] ] } + + tags = { + region = data.aws_region.current.name + } } data "aws_network_interface" "stun_server_interface" { diff --git a/stun_server/region/network.tf b/stun_server/region/network.tf index c62490e..5fb7620 100644 --- a/stun_server/region/network.tf +++ b/stun_server/region/network.tf @@ -23,4 +23,8 @@ resource "aws_security_group" "stun_sg" { protocol = "udp" cidr_blocks = ["0.0.0.0/0"] } + + tags = { + region = data.aws_region.current.name + } }