brikis98 / terraform-up-and-running-code

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

Error: Unsupported Terraform Core version #69

Open mpatters72 opened 3 years ago

mpatters72 commented 3 years ago

e.g.

#Find and download latest compatible 0.12.x version and alias it (as opposed to install since you probably don't want an old binary, when you start your own build out)
https://releases.hashicorp.com/terraform/

alias terraform=/Users/mpatters/bin/terraform-0.12.30
terraform -version
Terraform v0.12.30
+ provider.aws v2.70.0
brikis98 commented 3 years ago

Ah, good point. You could probably do:

brew install terraform@0.12.29

Or use tfenv.

I'll include this in the next edition, thanks!