You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
If you are interested in working on this issue or have submitted a pull request, please leave a comment
If an issue is assigned to the "modular-magician" user, it is either in the process of being autogenerated, or is planned to be autogenerated soon. If an issue is assigned to a user, that user is claiming responsibility for the issue. If an issue is assigned to "hashibot", a community member has claimed the issue already.
It should have been able to retrieve the google_sql_user.user.name and google_sql_user.user.password values. This works when using mysql.
Actual Behavior
The values google_sql_user.user.name and google_sql_user.user.password are not available even though they were actually created and are used in the cloud sql instance.
Steps to Reproduce
terragrunt apply
Important Factoids
Using terragrunt, which is also why I am on the terraform version above.
References
#0000
The text was updated successfully, but these errors were encountered:
This is due to the fact that the module is providing "%" for the host, which is only valid for MySQL users. While we should (and will) fix the issue causing this provider issue, it's hard for us to validate the value of host since it relies on a value in a different resource, and so we can't really validate this request before it's made. So, here's what we should do:
I'll fix an issue that causes this "provider error".
I'll fill an issue against the Cloud SQL API so they reject creation of a Postgres user with a non-empty host.
You will need to explicitly set host to an empty string (to avoid a permadiff) until (and if) item 2 is fixed (1 will not fix this). This might require your module's owner to fix how they generate the host value;
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!
ghost
locked and limited conversation to collaborators
Jul 18, 2019
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Community Note
Terraform Version
Terraform v0.11.14
Affected Resource(s)
Terraform Configuration Files
Input being sent to module
general {
name = "pgdatabase"
env = "development"
db_version = "POSTGRES_9_6"
region = "us-east1"
}
instance {
zone = "b"
}
database_name = "pgdatabase"
Debug Output
https://gist.github.com/roger-rainey/72543f562bda749ef22bcfbdab88246b
Panic Output
Expected Behavior
It should have been able to retrieve the google_sql_user.user.name and google_sql_user.user.password values. This works when using mysql.
Actual Behavior
The values google_sql_user.user.name and google_sql_user.user.password are not available even though they were actually created and are used in the cloud sql instance.
Steps to Reproduce
terragrunt apply
Important Factoids
Using terragrunt, which is also why I am on the terraform version above.
References
The text was updated successfully, but these errors were encountered: