Skip to content
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

Use cookiecutter hook and tfvar validation to limit service account characters #20

Merged
merged 3 commits into from
Apr 11, 2024

Conversation

d33bs
Copy link
Member

@d33bs d33bs commented Apr 10, 2024

This PR limits the number of characters which may be used for the service account name to help abide Google service account constraints (link). It might result in some odd looking names so I also added a comment above the entry within the TF to ensure understandability.

Thanks for any feedback!

Closes #17

@d33bs d33bs requested a review from falquaddoomi April 10, 2024 22:48
Copy link
Contributor

@falquaddoomi falquaddoomi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks reasonable; I left a note about the option of using TF input variable validation to make the user aware of the issue rather than handling it.

I'll approve this, though, and leave the decision up to you since you know better than me what your audience is going to find easier to handle.

@d33bs d33bs changed the title Use variable slice to limit service account characters Use cookiecutter hook and tfvar validation to limit service account characters Apr 11, 2024
@d33bs
Copy link
Member Author

d33bs commented Apr 11, 2024

Thanks @falquaddoomi, I incorporated in your feedback and going to merge now!

@d33bs d33bs merged commit 5ee5e75 into CU-DBMI:main Apr 11, 2024
2 checks passed
@d33bs d33bs deleted the service-account-name-limits branch April 11, 2024 19:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Provide note about service account name character limits on GC
2 participants