Open serpro69 opened 1 month ago
Confirmed issue!
After trying to create both resources they returned the described error and there isn't any list specifying if there are roles that aren't supported for these resources in terraform registry:
β Error: Request
Set IAM Binding for role "roles/iap.tunnelInstances.accessViaIAP" on "project \"foo\""returned error: Error applying IAM policy for project "foo": googleapi: Error 400: Role roles/iap.tunnelInstances.accessViaIAP is not supported for this resource., badRequest
Community Note
Terraform Version & Provider Version(s)
Terraform v1.9.1 on linux_amd64
Affected Resource(s)
google_project_iam_binding google_project_iam_member
Terraform Configuration
or
Debug Output
No response
Expected Behavior
I can set this fine via UI console, so terraform should be able to do the same via APIs?
Actual Behavior
Tried both iam binding and member resources, and both return the same error:
Steps to reproduce
terraform apply
Important Factoids
No response
References
No response
b/372713789