How balasekhardevops-coder/aws-sagemaker-llmops works
This repository provisions a VPC-only SageMaker Studio training lab through separate bootstrap, identity, and environment Terraform stacks. The documented deployment path is a manual GitHub Actions entry point followed by a reusable workflow that checks the account and state isolation, plans, then applies an approval-bound saved plan. The README also identifies the Dev stack’s legacy flat resources and the independent QA/Prod module roots. Source excerpts are limited to the incident-data generator, so infrastructure relationships below rely on README statements rather than sampled Terraform internals.
Main entry points: main.tf Identity and policies · dev Dev environment · terraform-infra-manual.yml Manual deploy workflow · terraform-reusable-deploy.yml Reusable deploy workflow
Components 14
Deployment
- Manual deploy workflow
.github/workflows/terraform-infra-manual.yml - Reusable deploy workflow
.github/workflows/terraform-reusable-deploy.yml
Terraform stacks
- Backend bootstrap
terraform/bootstrap/main.tf - Identity and policies
terraform/identity/main.tf - Dev environment
terraform/environments/dev - QA environment
terraform/environments/qa - Prod environment
terraform/environments/prod
Infrastructure modules
- Reusable AWS modules
terraform/modules
Lab data
- Incident generator
scripts/generate_incidents.py - Incident dataset
data/raw/incidents.jsonl
Other components
- Operator
- Terraform state bucket
- AWS account
- SageMaker Studio
Connections 11
- Operator → Manual deploy workflow: starts
README.md - Manual deploy workflow → Reusable deploy workflow: invokes
README.md - Reusable deploy workflow → Backend bootstrap: deploys stacks
- Backend bootstrap → Terraform state bucket: creates backend
README.md - Identity and policies → AWS account: defines roles
README.md - Identity and policies → Terraform state bucket: scopes policies
README.md - Dev environment → AWS account: provisions resources
README.md - Dev environment → SageMaker Studio: provisions domain
README.md - QA environment → Reusable AWS modules: uses module roots
README.md - Prod environment → Reusable AWS modules: uses module roots
README.md - Incident generator → Incident dataset: generates records
scripts/generate_incidents.py