How joshuaonaiwu/infra-state-platform works
This repository provides a Terraform state platform and its controlled delivery workflow. Engineers submit changes through GitHub; the documented workflow plans changes for pull requests and applies them after merges. Bootstrap provisions versioned, encrypted S3 state storage and DynamoDB locking; the infrastructure configuration uses the remote backend. GitHub OIDC supplies temporary AWS credentials through STS and an IAM role. Relationships below are based on the README; source excerpts were unavailable, so implementation-level details are not inferred.
Main entry points: terraform.yml Terraform Workflow · backend.tf Remote Backend Config · bootstrap/main.tf Backend Bootstrap · infra/main.tf Infrastructure Config
Components 14
Change Delivery
- Terraform Workflow
.github/workflows/terraform.yml - Terraform Plan
.github/workflows/terraform.yml - Terraform Apply
.github/workflows/terraform.yml
AWS Authentication
- GitHub OIDC
- AWS STS
- IAM Role
bootstrap/main.tf
Terraform Backend
- Backend Bootstrap
bootstrap/main.tf - S3 State Storage
bootstrap/main.tf - DynamoDB Locking
bootstrap/main.tf - Remote Backend Config
infra/backend.tf
Managed Infrastructure
- Infrastructure Config
infra/main.tf
Other components
- Engineer
- GitHub Repository
- Terraform
Connections 15
- Engineer → GitHub Repository: opens pull request
README.md - GitHub Repository → Terraform Workflow: triggers workflow
README.md - Terraform Workflow → Terraform Plan: runs on pull request
README.md - Terraform Workflow → Terraform Apply: runs after merge
README.md - Terraform Plan → Terraform: runs plan
README.md - Terraform Apply → Terraform: runs apply
README.md - Terraform Workflow → GitHub OIDC: requests token
README.md - GitHub OIDC → AWS STS: federates with
README.md - AWS STS → IAM Role: assumes role
README.md - Backend Bootstrap → S3 State Storage: provisions
README.md - Backend Bootstrap → DynamoDB Locking: provisions
README.md - Terraform → Remote Backend Config: initializes backend
README.md - Remote Backend Config → S3 State Storage: stores state
README.md - Remote Backend Config → DynamoDB Locking: locks state
README.md - Terraform → Infrastructure Config: plans and applies
README.md