Parent
#105
Spec
spec/features/014-cicd-infrastructure/spec.md
What to build
Add infra/terraform/modules/iam-github-oidc/ and wire in dev/prod environments:
- GitHub OIDC identity provider for
token.actions.githubusercontent.com
- Role
smartwealthai-github-actions-dev: trust repo JLaborda/SmartWealthAI, branch develop, GitHub Environment dev; read/write dev S3 bucket only
- Role
smartwealthai-github-actions-prod: trust repo, branch main, Environment production; read/write prod S3 bucket only
Least privilege: dev role cannot access prod bucket and vice versa.
Acceptance criteria
Blocked by
#106
Type
AFK
Parent
#105
Spec
spec/features/014-cicd-infrastructure/spec.md
What to build
Add
infra/terraform/modules/iam-github-oidc/and wire in dev/prod environments:token.actions.githubusercontent.comsmartwealthai-github-actions-dev: trust repoJLaborda/SmartWealthAI, branchdevelop, GitHub Environmentdev; read/write dev S3 bucket onlysmartwealthai-github-actions-prod: trust repo, branchmain, Environmentproduction; read/write prod S3 bucket onlyLeast privilege: dev role cannot access prod bucket and vice versa.
Acceptance criteria
subconditions for repo, ref, and environmentrole_arnfor use in GitHub Actions workflowsBlocked by
#106
Type
AFK