mirror of
https://github.com/Sea-Haven-Industries/file-share.git
synced 2026-10-02 08:23:14 +00:00
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:
parent
7c72159f31
commit
86a4e9428a
1 changed files with 3 additions and 5 deletions
|
|
@ -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
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue