Closed JamesAndresCM closed 4 years ago
Are you using code form the master
branch? Are you on Terraform 0.12? Are you reading the 2nd edition of the book?
No response for over a year, closing.
availability_zones = data.aws_availability_zones.all.names
it works for me
terraform {
required_version = "0.12.23"
required_providers {
aws = ">= 2.53.0"
}
}
¿ How to fix ?
availability_zones = ["${data.aws_availability_zones.all.names}"]
availability_zones = ["${data.aws_availability_zones.all.names[0]}"]