Applying the Identity Module
This page describes the apply flow for infra/identity/.
Prerequisites
- Backend bootstrap has been applied: backend-bootstrap/applying.md
- AWS credentials are available in your environment
1) Set Backend Bucket
Update infra/identity/backend.tf so bucket matches bootstrap output.
terraform -chdir=infra/bootstrap output s3_bucket_name
2) Set Identity Inputs
Edit infra/identity/terraform.tfvars:
regiongithub_orggithub_repositories- role and tag fields if required
3) Apply
terraform -chdir=infra/identity init
terraform -chdir=infra/identity validate
terraform -chdir=infra/identity plan
terraform -chdir=infra/identity apply
4) Capture Outputs
terraform -chdir=infra/identity output
Use role_arn in GitHub Actions workflows.