Import auth-maintainers team into Pulumi state with correct ID (#55)
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.
This commit is contained in:
parent
0de09d770b
commit
3b920558b5
1 changed files with 4 additions and 0 deletions
4
.github/workflows/deploy.yml
vendored
4
.github/workflows/deploy.yml
vendored
|
|
@ -71,4 +71,8 @@ jobs:
|
|||
pulumi login gs://mcp-access-prod-pulumi-state
|
||||
pulumi config set discord:guildId "$DISCORD_GUILD_ID" --stack prod
|
||||
pulumi config set discord:botToken "$DISCORD_BOT_TOKEN" --secret --stack prod
|
||||
# One-time import: auth-maintainers team exists on GitHub (ID 16083315)
|
||||
# but was lost from Pulumi state during the auth-wg -> auth-maintainers rename.
|
||||
# Remove this import line after the next successful deploy.
|
||||
pulumi import github:index/team:Team auth-maintainers 16083315 --stack prod --yes || true
|
||||
make up
|
||||
Loading…
Reference in a new issue