I had a working Vault Deployment using Terraform and AWS us-east-1e does not support my instance type of choice. I need to ensure it only uses the other 5 AZ’s. Below is what I added. Does anyone know what this is still not excluding me from us-east-1e???
Block I injected to ensure I do not use us-east-1e (does not support instance type)
}
data "aws_availability_zones" "available" {
state = "available"
}
data "aws_availability_zones" "by_name" {
exclude_names = ["us-east-1e"]
}
variable "region_number" {
default = {
us-east-1 = 1
}
}
variable "az_number" {
default = {
a = 1
b = 2
c = 3
d = 4
f = 5
e = 6
}
}