-
Notifications
You must be signed in to change notification settings - Fork 139
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
Generate a unique name from user input to use with multiple Bicep modules #503
Comments
@ExchMaster pointed us to the "shared variables" pattern that could prove helpful for this work: |
This could be OBE by the proposed changes stemming from #556. In those proposed changes the resource prefix is prepended to resource names and the unique string is calculated for each deployment for the resources that need it (storage accounts, L28 in this example): Lines 17 to 31 in 1429d94
|
This backlog item is superseded by #556. |
Benefit/Result/Outcome
We need a simple proof-of-concept for generating a unique name based on user input, i.e., the
resourcePrefix
parameter, that can be passed to individual modules in order to ensure uniqueness, and also be consistent to preserve idempotency. Idempotency and uniqueness are conflicting goals, and we believe that using a user input likeresourcePrefix
is the best compromise between the two goals.This issue will unblock #498.
Acceptance Criteria
uniqueString
function.The text was updated successfully, but these errors were encountered: