This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
data "aws_availability_zones" "good_zone_ids" { | |
exclude_zone_ids = [ | |
# There are no modern instance types in use1-az3; AWS has left | |
# that zone behind for the most part. See, for example, here: | |
# https://www.reddit.com/r/aws/comments/g5lh7h/t3m5r5_instance_types_in_use1az3/ | |
"use1-az3", | |
] | |
state = "available" | |
} | |
output "good_zone_ids" { value = data.aws_availability_zones.good_zone_ids } |