Enable --refresh on pulumi up to detect drift (#83)

GitHub org invitations expire after 7 days if not accepted. When that
happens, Pulumi state still shows the TeamMembership as healthy and
reports 'unchanged' on every deploy, so the user silently stays out of
the team forever.

Adding --refresh makes pulumi read actual GitHub state before diffing,
so expired memberships are detected and recreated (resending the invite).

Currently affected: liady, antonpk1, keithagroves all have expired
invites and are missing from their configured teams.

🏠 Remote-Dev: homespace
This commit is contained in:
Den Delimarsky 2026-03-19 04:34:35 -07:00 • committed by GitHub
commit f8d6ec117c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -15,5 +15,5 @@ preview: login ## Preview infrastructure changes
refresh: login ## Refresh state to match reality
PULUMI_CONFIG_PASSPHRASE_FILE=passphrase.prod.txt pulumi refresh --yes --stack prod
up: login ## Deploy infrastructure
PULUMI_CONFIG_PASSPHRASE_FILE=passphrase.prod.txt pulumi up --yes --stack prod
up: login ## Deploy infrastructure (with refresh to detect drift, e.g. expired org invites)
PULUMI_CONFIG_PASSPHRASE_FILE=passphrase.prod.txt pulumi up --refresh --yes --stack prod