Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: Unsupported Terraform Core version #69

Open
mpatters72 opened this issue Apr 6, 2021 · 1 comment
Open

Error: Unsupported Terraform Core version #69

mpatters72 opened this issue Apr 6, 2021 · 1 comment

Comments

@mpatters72
Copy link

mpatters72 commented Apr 6, 2021

  • Book instructions for macOS state brew install terraform
  • That currently installs 0.14.7 version
  • 00-preface/hello-world main.tf required_version = ">= 0.12, < 0.13"
  • It would be nice to provide a suggested workaround if it is impractical to update examples (ideally 0.15 and onward compatible.

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
Copy link
Owner

brikis98 commented Apr 7, 2021

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants