Skip to content

feat(infra): run terraform plan/apply for infra/live from GitHub Actions - #37

Open
raferdev wants to merge 1 commit into
mainfrom
feat/terraform-ci-oidc-role
Open

feat(infra): run terraform plan/apply for infra/live from GitHub Actions#37
raferdev wants to merge 1 commit into
mainfrom
feat/terraform-ci-oidc-role

Conversation

@raferdev

Copy link
Copy Markdown
Owner

Adds a second, separately-scoped OIDC role (rafer-dev-terraform-ci) so infra changes can be applied by CI instead of only from a local machine, matching the existing OIDC pattern used for the app deploy role. infra/bootstrap stays manual/local-only (one-time, chicken-and-egg w.r.t. the state backend it creates).

This role can modify its own trust/permissions policy, since Terraform manages the very IAM role it runs as - IAM scoping limits the blast radius to just this role, the app-deploy role, and the OIDC provider, but the real mitigation is requiring PR review on main before merge, documented in infra/README.md.

Adds a second, separately-scoped OIDC role (rafer-dev-terraform-ci) so
infra changes can be applied by CI instead of only from a local
machine, matching the existing OIDC pattern used for the app deploy
role. infra/bootstrap stays manual/local-only (one-time, chicken-and-egg
w.r.t. the state backend it creates).

This role can modify its own trust/permissions policy, since Terraform
manages the very IAM role it runs as - IAM scoping limits the blast
radius to just this role, the app-deploy role, and the OIDC provider,
but the real mitigation is requiring PR review on main before merge,
documented in infra/README.md.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@vercel

vercel Bot commented Aug 14, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
rafer.dev Error Error Aug 14, 2026 8:08pm

@changeset-bot

changeset-bot Bot commented Aug 14, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: eacf2c7

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant