From 2d5b2f4f71acc0c4cd0a9fecad2b3a635cbbcf9c Mon Sep 17 00:00:00 2001 From: David Soria Parra Date: Tue, 3 Feb 2026 15:09:29 +0000 Subject: [PATCH] Delete stale auth-maintainers resources from Pulumi state The team was accidentally deleted when both auth-wg and auth-maintainers existed in state pointing to the same GitHub team. Need to clear stale state so Pulumi can create fresh resources. --- .github/workflows/deploy.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 759c948..cadd1d1 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -71,4 +71,12 @@ 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 + # Delete stale auth-maintainers resources from state (team was deleted, need fresh creation) + pulumi state delete 'urn:pulumi:prod::mcp-access::github:index/team:Team::auth-maintainers' --stack prod --yes || true + pulumi state delete 'urn:pulumi:prod::mcp-access::github:index/teamMembership:TeamMembership::dsp-auth-maintainers' --stack prod --yes || true + pulumi state delete 'urn:pulumi:prod::mcp-access::github:index/teamMembership:TeamMembership::dsp-ant-auth-maintainers' --stack prod --yes || true + pulumi state delete 'urn:pulumi:prod::mcp-access::github:index/teamMembership:TeamMembership::pcarleton-auth-maintainers' --stack prod --yes || true + pulumi state delete 'urn:pulumi:prod::mcp-access::github:index/teamMembership:TeamMembership::aaronpk-auth-maintainers' --stack prod --yes || true + pulumi state delete 'urn:pulumi:prod::mcp-access::github:index/teamMembership:TeamMembership::localden-auth-maintainers' --stack prod --yes || true + pulumi state delete 'urn:pulumi:prod::mcp-access::github:index/teamMembership:TeamMembership::D-McAdams-auth-maintainers' --stack prod --yes || true make up \ No newline at end of file