brikis98 / terraform-up-and-running-code

Code samples for the book "Terraform: Up & Running" by Yevgeniy Brikman
http://www.terraformupandrunning.com/
MIT License
2.87k stars 1.92k forks source link

Chapter 2 Error Availability Zones in WebServer Cluster #33

Closed JamesAndresCM closed 4 years ago

JamesAndresCM commented 5 years ago

¿ How to fix ?

brikis98 commented 5 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?

brikis98 commented 4 years ago

No response for over a year, closing.

danielk0121 commented 1 year ago
availability_zones = data.aws_availability_zones.all.names

it works for me

terraform {
  required_version = "0.12.23"
  required_providers {
    aws = ">= 2.53.0"
  }
}