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.
This commit is contained in:
David Soria Parra 2026-02-03 15:09:29 +00:00
commit 2d5b2f4f71
No known key found for this signature in database

View file

@ -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