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:
parent
7a449ff28c
commit
f8d6ec117c
1 changed files with 2 additions and 2 deletions
4
Makefile
4
Makefile
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue