fix(infra): look up the live office VPN gateway (PLAT-77)

The gateway tagged syslog-server-office is deleted, so the plan cannot find a route target for the office LANs.
This commit is contained in:
Adam Moussa 2026-09-29 18:42:45 -04:00
parent 7c72159f31
commit 86a4e9428a
No known key found for this signature in database

View file

@ -12,12 +12,10 @@ data "aws_internet_gateway" "syslog" {
}
}
# The gateway named syslog-server-office in syslog state is deleted.
# Office traffic uses the one available gateway still attached to this VPC.
data "aws_vpn_gateway" "syslog" {
filter {
name = "tag:Name"
values = ["syslog-server-office"]
}
state = "available"
attached_vpc_id = data.aws_vpc.syslog.id
}