-
Notifications
You must be signed in to change notification settings - Fork 100
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Breaking change in 4.1.1 - Attribute iam_emails
returns full service account id
/ name
instead of account_id
#59
Comments
Looping in PR owner @wkrysmann |
Attribute bucket_viewers = {
"bucket-first" = "serviceAccount:${module.service_accounts.service_accounts_map["first"]["email"]}",
"bucket-second" = "serviceAccount:${module.service_accounts.service_accounts_map["second"]["email"]}",
} Still a breaking change though... |
This should be considered a bug, since we didn't intend to change the interface of |
Changing it back would be to revert PR #57 (commit cb0f7f0) but then the problem that @wkrysmann mentioned in his PR would be back. Hence I would like to get his inputs on this issue first. |
Hi @philippeboyd, |
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days |
not stale |
I did use this instead: bucket_viewers = {
"bucket-first" = "serviceAccount:${module.service_accounts.service_accounts_map.first.email}",
"bucket-second" = "serviceAccount:${module.service_accounts.service_accounts_map.second.email}",
} |
Any update on this? |
Is there any update to this issue? We do use the |
just hit this problem: it was an unannounced breaking changed, would be great to get it fixed locals {
service_accounts_iam_emails_by_name = {
for env, account in module.service-accounts.service_accounts_map:
env => "serviceAccount:${account.email}"
}
} this issues affects the IMHO best approach would be a fix reverting to original behaviour released as a breaking change with major version update |
TL;DR
Attribute
iam_emails
returns full service accountid
/name
instead ofaccount_id
(same with return attributeemails
)Expected behavior
Observed behavior
Terraform Configuration
Terraform Version
Additional information
Related to PR #57
Version
4.1.0
was convenient in the following use case:The text was updated successfully, but these errors were encountered: