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 a user, that user is claiming responsibility for the issue.
Customers working with a Google Technical Account Manager or Customer Engineer can ask them to reach out internally to expedite investigation and resolution of this issue.
Description
Currently, if the data source google_service_accounts is used, all service accounts from a project are part of the query result and all this information will be persisted into the state.
With options for filtering this can be prevented.
Something like a prefix-option on the account_id and a regex-option on the email which can also be used in combination.
As the used API doesn't provide filtering options, this could be added into the data source's implementation.
This depends on fix of #20920 where pagination support for this data source will be added.
Community Note
Description
Currently, if the data source
google_service_accounts
is used, all service accounts from a project are part of the query result and all this information will be persisted into the state.With options for filtering this can be prevented.
Something like a
prefix
-option on theaccount_id
and aregex
-option on theemail
which can also be used in combination.As the used API doesn't provide filtering options, this could be added into the data source's implementation.
This depends on fix of #20920 where pagination support for this data source will be added.
New or Affected Resource(s)
Potential Terraform Configuration
References
google_service_accounts
: https://registry.terraform.io/providers/hashicorp/google/latest/docs/data-sources/service_accountsThe text was updated successfully, but these errors were encountered: