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.
Terraform Version
Terraform v0.12.2
provider.google v2.8.0
Affected Resource(s)
google_folder_iam_binding
Terraform Configuration Files
resource "google_folder_iam_binding" "subFolder1BQ" {
folder = "${google_folder.subFolder1.name}"
role = "roles/bigquery.dataViewer"
members = [
"user:[email protected]",
]
}
Expected Behavior
After the resource is created, subsequent actions (plan/apply) shouldn't affect this resource (unless changes made to the config file)
Actual Behavior
Google creates the user with an upper-case first character, so [email protected] is created as [email protected] (this is also the case when manually adding the @gmail.com user via the GCP console so this part is not a Terraform creation issue).
Terraform sees this as a change from the state, so every subsequent plan is showing that this will be changed to lowercase:
An execution plan has been generated and is shown below.
Resource actions are indicated with the following symbols:
~ update in-place
Terraform will perform the following actions:
# google_folder_iam_binding.subFolder1BQ will be updated in-place
~ resource "google_folder_iam_binding" "subFolder1BQ" {
etag = "1234567="
folder = "folders/1234567"
id = "folders/1234567/roles/bigquery.dataViewer"
~ members = [
- "user:[email protected]",
+ "user:[email protected]",
]
role = "roles/bigquery.dataViewer"
}
Plan: 0 to add, 1 to change, 0 to destroy.
Steps to Reproduce
terraform apply to create initial resource
terraform plan
Important Factoids
Accounts from my organisation are created using the correct casing (lower case).
At this time I haven't tried using any other policy binding actions, nor a service account.
The text was updated successfully, but these errors were encountered:
I've just tried adding a user from an outside organisation and that remained in lowercase, and any uppercase chars in the tf config file were converted to lowercase too, so it does seem to just be the @gmail.com emails that are being capitalised
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 25, 2019
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Community Note
Terraform Version
Terraform v0.12.2
Affected Resource(s)
google_folder_iam_binding
Terraform Configuration Files
Expected Behavior
After the resource is created, subsequent actions (plan/apply) shouldn't affect this resource (unless changes made to the config file)
Actual Behavior
Google creates the user with an upper-case first character, so [email protected] is created as [email protected] (this is also the case when manually adding the @gmail.com user via the GCP console so this part is not a Terraform creation issue).
Terraform sees this as a change from the state, so every subsequent plan is showing that this will be changed to lowercase:
Steps to Reproduce
terraform apply
to create initial resourceterraform plan
Important Factoids
Accounts from my organisation are created using the correct casing (lower case).
At this time I haven't tried using any other policy binding actions, nor a service account.
The text was updated successfully, but these errors were encountered: