Fix: Import auth-maintainers team into Pulumi state with correct ID#55
Merged
Fix: Import auth-maintainers team into Pulumi state with correct ID#55
Conversation
The auth-wg -> auth-maintainers rename (PR #50) caused the team to be lost from Pulumi state. A previous import attempt used the wrong team ID (14435880). The actual GitHub team ID is 16083315. Every deploy since has failed with: 422 Validation Failed: Name must be unique for this org This adds a one-time import step to reconcile state. The import line should be removed after the next successful deploy.
Pulumi PreviewClick to expand preview output |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
The
auth-wg->auth-maintainersrename (PR #50) caused the team to be lost from Pulumi state. A previous import attempt (commit 8f29a9f) used the wrong team ID (14435880). The actual GitHub team ID is16083315.Every deploy since has been failing with:
The team itself is fine on GitHub with correct members and permissions (including admin on ext-auth), but no new access changes can be deployed until this is fixed.
Fix
Adds a one-time
pulumi importstep with the correct team ID (16083315) to reconcile Pulumi state with the existing GitHub team.Follow-up
After this deploys successfully, a follow-up commit should remove the one-time import line from deploy.yml.