-
Notifications
You must be signed in to change notification settings - Fork 43
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
Ensure that resource group naming is deterministic #1041
Conversation
Diff for pulumi-azuread with merge commit 4799ee6 |
Diff for pulumi-random with merge commit 4799ee6 |
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.
LGTM. Would like to see the test you mentioned in bridge testing, if possible.
Diff for pulumi-gcp with merge commit 4799ee6 |
Diff for pulumi-azure with merge commit 4799ee6 |
I'm unable to repro the original issue in a contained test. I'm going to merge now and add a follow-up issue to add a test. |
} | ||
sort.Strings(keys) | ||
|
||
for _, name := range keys { |
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.
You could probably do a one-liner
for _, name := range codegen.SortedKeys(resourceGroups) {
Fixes pulumi/pulumi-gitlab#224
This bug manifested as occasionally missing (or emerging) example blocks in gitlab (and I suspect aws).