identity: OpenTofu is the sole authority over who impersonates cloud-tofu@ #53
No reviewers
Labels
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
key-store/key.store!53
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "identity/tofu-sa-authoritative-binding"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Follow-up to #43/#50. Authoritative google_service_account_iam_binding for roles/iam.workloadIdentityUser on cloud-tofu@: only attribute.authority/cloud-tofu-{plan,apply}. Applying removes the temporary Authentik cloud-signing binding from the bootstrap. Plan 17176 already ran on the Forgejo job token.
Replace the two non-authoritative workloadIdentityUser members on the cloud-tofu service account with one authoritative binding listing only the Forgejo authority principalSets (attribute.authority/cloud-tofu-{plan,apply}). Applying it removes the temporary Authentik cloud-signing binding the bootstrap script added, now that cloud-tofu.yml runs on the Forgejo job token (identity plan run 17176 on main). Recovery from a broken Forgejo path is the founder bootstrap script, by design. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>