Open miketwenty1 opened 4 years ago
I'm not sure if something changed with the postgres provider. But it seems to just "work" now.
Another theory is.. my issue had to do with a cached .terraform
folder in the repo and some weird backend issue.
ultimately the terraform 0.13upgrade
did in indeed add the correct required provider info in version.tf .. if you're like me and still got errors try doing a terraform state list
remove postgres resources delete .terraform / git clean, and then run terraform init / plan / apply / etc. Worked for me.
Hi there,
I'm wondering if there is an issue with this terraform provider with the new version of 0.13.4 I'm unable to figure out how to upgrade/replace the old hashicorp provider that was used in v12.
error with
terraform init
One thing to note is the
"following command"
is blank this seems like a bug. It seems like the output is telling me to use this new provider fromhashicorp/postgresql -> terraform-providers/postgresql
The provider terraform config: (trying to comply with v13 requirements).
This will sucessfully add the new provider
terraform-providers/postgresql
to my terraform providersterraform providers
As you can see from this output it Here is an example of how I'm using the postgresql provider:
removing these resources will make the terraform providers command remove the
provider[registry.terraform.io/hashicorp/postgresql]
.. adding these resources will add it back. It seems to not want to use the given suggested provider.Please let me know what I'm doing wrong thanks so much.
Edit: Also note running
terraform 0.13upgrade
did add a version.tf but didn't fix the issue and didn't add theterraform-providers/postgresql
I have above.