-
Notifications
You must be signed in to change notification settings - Fork 916
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
Normalize prefix handling in blueprints #1003
Conversation
@skalolazka FYI |
OMG, Sebastian, this is awesome! Thanks for taking your time! |
But not in the |
@ludoo @juliocc what if we set a reasonable default value for prefix?
This way everything has a prefix per default, the user does not have to supply one when they don't need, but we keep the possible to just not use any prefix if someone decides to do so. |
The problem for blueprints (where there is no org-wide naming convention with a unique token, usually at the beginning of the name) is that setting a default prefix will originate clashes for each user after the first one that runs apply on project ids and GCS bucker names, which are unique across GCP. For blueprints we should really not set a default for prefix, and ask users to set it in a tfvars file or pass it in via environment or arg. |
Reworked the prefix handling, so that it is now mandatory. |
This PR normalizes the prefix handling in blueprints, similar to #964.
Fixes #967