diff --git a/aws/transitgateway-demo-v2/create_vpc_security.tf b/aws/transitgateway-demo-v2/create_vpc_security.tf index 7ae44cfc..c4d17d95 100644 --- a/aws/transitgateway-demo-v2/create_vpc_security.tf +++ b/aws/transitgateway-demo-v2/create_vpc_security.tf @@ -1,4 +1,9 @@ -data "aws_availability_zones" "available" {} +data "aws_availability_zones" "available" { + filter { + name = "opt-in-status" + values = ["opt-in-not-required"] // Do not use local zones in us-west2 or us-east1 + } +}