Skip to content

How to run in TF12 ? #87

Answered by cyrilgdn
zkarampa asked this question in Q&A
May 5, 2021 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

@zkarampa The README is probably a bit outdated indeed, I'll update it.

If you want to have recent versions, you should probably upgrade to Terraform 0.13.x or above.

But I guess it's not that simple in your case if you haven't done it yet.

So to answer your question, to use the postgresql provider (or other community providers) for Terraform 0.12.x, you have 2 solutions:

  • Use the last released version for Terraform 0.12.x
  • "Manually" download the binary of the latest version into one of the plugins directory.
    For example with a script like:
PLUGINS_DIR="${HOME}/.terraform.d/plugins"
VERSION=1.13.0

curl -Lo "/tmp/terraform-provider-postgresql_v${VERSION}.zip" \
    https://github.com/cyr…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@zkarampa
Comment options

Answer selected by zkarampa
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants