Skip to content

Commit 2d5b2f4

Browse files
committed
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.
1 parent 6627a01 commit 2d5b2f4

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,4 +71,12 @@ jobs:
7171
pulumi login gs://mcp-access-prod-pulumi-state
7272
pulumi config set discord:guildId "$DISCORD_GUILD_ID" --stack prod
7373
pulumi config set discord:botToken "$DISCORD_BOT_TOKEN" --secret --stack prod
74+
# Delete stale auth-maintainers resources from state (team was deleted, need fresh creation)
75+
pulumi state delete 'urn:pulumi:prod::mcp-access::github:index/team:Team::auth-maintainers' --stack prod --yes || true
76+
pulumi state delete 'urn:pulumi:prod::mcp-access::github:index/teamMembership:TeamMembership::dsp-auth-maintainers' --stack prod --yes || true
77+
pulumi state delete 'urn:pulumi:prod::mcp-access::github:index/teamMembership:TeamMembership::dsp-ant-auth-maintainers' --stack prod --yes || true
78+
pulumi state delete 'urn:pulumi:prod::mcp-access::github:index/teamMembership:TeamMembership::pcarleton-auth-maintainers' --stack prod --yes || true
79+
pulumi state delete 'urn:pulumi:prod::mcp-access::github:index/teamMembership:TeamMembership::aaronpk-auth-maintainers' --stack prod --yes || true
80+
pulumi state delete 'urn:pulumi:prod::mcp-access::github:index/teamMembership:TeamMembership::localden-auth-maintainers' --stack prod --yes || true
81+
pulumi state delete 'urn:pulumi:prod::mcp-access::github:index/teamMembership:TeamMembership::D-McAdams-auth-maintainers' --stack prod --yes || true
7482
make up

0 commit comments

Comments
 (0)