-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Google - Postgres always tries to recreate user #3894
Comments
Hi @sce81, I'm having a bit of trouble understanding your config- it looks like some of the fields are outside of data sources/resources. Also, would you mind adding in what the output from |
Yes, absolutely. Im not in a position to do so now but i am more than happy to provide you with a detailed output of my resources to help you investigate. Is there a secure way for me to do so? |
Sure! Depending on how secure you need, here are a few options:
Any of those work? |
Thanks Dana, I have sent you the terraform debug file through Slack |
From looking at the debug logs, one of the messages is Closing this out, but if the problem persists after an upgrade to 2.9.1, please don't hesistate to reopen! |
Hi Dana, Using Google Provider 2.9.1 i am finding the issue where TF tries to replace the postgres user on each run, continues to happen, although the change is now successful. It stil erroneously reports that it needs to recreate the user.
|
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. If you feel I made an error 🤖 🙉 , please reach out to my human friends 👉 [email protected]. Thanks! |
Community Note
Affected Resource(s)
google_sql_user
vault_generic_secret
Terraform Configuration Files
Debug Output
Panic Output
Expected Behavior
No changes should be seen
Actual Behavior
on tf 0.11.14 it changed the resources every apply, however this does not cause issue except registering a change. But for the mysql instance (which uses the same module) this behavior does not happen.
since 0.12.2 i get the following error and it is unable to complete the process
**Error: Provider produced inconsistent result after apply
When applying changes to
module.integration_postgres_database.google_sql_user.sql_user[2], provider
"google" produced an unexpected new value for was present, but now absent.
This is a bug in the provider, which should be reported in the provider's own
issue tracker.**
Steps to Reproduce
every apply
terraform apply
Important Factoids
References
The text was updated successfully, but these errors were encountered: