Closed membra closed 2 years ago
Describe the bug A NAT gateway is in allowlist based on doco:
But it is listed as DELETED after the run
Expected behavior NAT gateway is skipped if it is in allowlist
I suspect the issue might be with the documentation itself... "nat_gateway" is what is expected, not "instance"
Great pickup @membra. The documentation is wrong. nat_gateway is the correct resource.
nat_gateway
Fixed https://github.com/servian/aws-auto-cleanup/commit/8dacdc0c5197925b4970778e00599514d621bf01
Describe the bug A NAT gateway is in allowlist based on doco:
EC2 NAT Gateways | NAT Gateway ID | ec2:instance:nat_gateway_id -- | -- | --But it is listed as DELETED after the run
Expected behavior NAT gateway is skipped if it is in allowlist