-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
feat: workload-identity: Allow passing Google Service Account display_name and description #1834
Conversation
Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). View this failed invocation of the CLA check for more information. For the most up to date status, view the checks section at the bottom of the pull request. |
/gcbrun |
I had to fix a copy/paste mistake in the variable validation test. Could you /gcbrun again? :) |
/gcbrun |
Hmm, the CI error doesn't immediately appear to be related to this change:
Might be related to hashicorp/terraform-provider-google#16794 as this was run using the TPG 5.11.0 driver. |
Is there anything I can do about the test failure? All I could think of was rebasing on current main branch but there are no new commits to rebase to. |
I just merged in a change to fix the CI, re-running the tests. |
/gcbrun |
/gcbrun |
I merged master once more, maybe another |
/gcbrun |
/gcbrun |
/gcbrun |
CI is intermittently hitting a quota:
|
/gcbrun |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the contribution @kosta!
…_name and description (terraform-google-modules#1834)
Straightforward change to allow passing
display_name
anddescription
to the Service Account created by workload identity (as input variablesgcp_sa_display_name
andgcp_sa_description
).If these are not given (they default to null), the behaviour is the same as before.
Use case: we want to implement some conventions around service account display_name and description for all service accounts to follow (e.g. document how they were created). Without this change, this is only possible by moving the google service account terraform resource outside of the workload-identity module, which is cumbersome state juggling for existing service accounts.
I am not exactly sure what kind of tests are needed here, please advise.