Open red8888 opened 2 years ago
I just had the same issue, downgrading to v3.77.0 also works.
Having the same issue with hashicorp/google ~> 3.86
. According to #9723 this was resolved and released in 3.79 but downgrading to 3.77 resolved the issue
Edit: This seems to be working now in 3.89
Community Note
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 tohashibot
, a community member has claimed the issue already.Terraform Version
Terraform v0.14.11
Affected Resource(s)
google_sql_user
Terraform Configuration Files
Debug Output
Expected Behavior
Resource is created without error
Actual Behavior
Cannot create new google_sql_user with CLOUD_IAM_SERVICE_ACCOUNT type AND all existing google_sql_user CLOUD_IAM_SERVICE_ACCOUNT resources are seen as new resources- like its not reading their state correctly anymore.
Steps to Reproduce
Attempt to create a google_sql_user with CLOUD_IAM_SERVICE_ACCOUNT set
Important Factoids
I'm not sure if google_sql_user is totally broken or if this is just for CLOUD_IAM_SERVICE_ACCOUNT type.
Importing is broken for these resources as well
Downgrading to v3.65.0 of google provider fixes the issue, but I'm sure whatever version behind latest would work too
0000
b/301412603