Open f-triquet opened 3 days ago
Hi @f-triquet!
I tried to replicate this issue assigning only the cloudsql.admin
role and then cloudscheduler.admin
separately, then I executed the code you share and no error was returned. Could you check your environment, permissions and variables, do normal troubleshooting (restart your environment, check authentication, etc) and try again?
Community Note
Terraform Version & Provider Version(s)
Terraform v1.9.5 on ubuntu 22.04
Affected Resource(s)
google_project_iam_member
Terraform Configuration
Debug Output
No response
Expected Behavior
Terraform output this for cloudsql.admin and cloudscheduler.admin adding roles
│ Error: Provider produced inconsistent result after apply │ │ When applying changes to google_project_iam_member.cicd_env_prj["roles/cloudsql.admin"], provider │ "provider[\"registry.terraform.io/hashicorp/google\"]" produced an unexpected new value: Root object was present, │ but now absent. │ │ This is a bug in the provider, which should be reported in the provider's own issue tracker. ╵
Actual Behavior
No response
Steps to reproduce
Just implement new roles on the variable list and then apply cause the failure. remove other oldest roles, apply, re-add and re-apply don't failed
Important Factoids
No response
References
No response