From 334fc0f8863fe8cba53a171f465d4f9402c3ec39 Mon Sep 17 00:00:00 2001 From: Paul Carleton Date: Tue, 3 Feb 2026 17:22:41 +0000 Subject: [PATCH 1/2] Import auth-maintainers team into Pulumi state with correct ID 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. --- .github/workflows/deploy.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 759c948..6397b30 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -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 \ No newline at end of file From 60bcf6a7826d196da33c719cc8937f830efbf758 Mon Sep 17 00:00:00 2001 From: Paul Carleton Date: Wed, 4 Feb 2026 14:32:52 +0000 Subject: [PATCH 2/2] Remove one-time auth-maintainers import from deploy workflow The import in the previous commit successfully reconciled the auth-maintainers team (ID 16083315) into Pulumi state. This removes the one-time import line now that state is consistent. --- .github/workflows/deploy.yml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 6397b30..6bbf71f 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -71,8 +71,4 @@ 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 \ No newline at end of file + make up