Skip to content

feat: add Terraform for the AWS infrastructure (Phase 7) - #9

Merged
Go-Santiago-Go merged 1 commit into
mainfrom
phase-7-terraform
Jul 10, 2026
Merged

Go-Santiago-Go merged 1 commit into
mainfrom
phase-7-terraform

Conversation

@Go-Santiago-Go

Copy link
Copy Markdown
Owner

Provision the cloud stack as code: a production-shaped three-tier VPC (public / private-app / private-data across two AZs, single NAT), a private RDS Postgres 16 instance with no public endpoint, an S3 bucket for raw documents, and a least-privilege IAM task role scoped to the specific Bedrock models the service calls plus the one bucket.

  • network.tf: VPC, six subnets, IGW, single NAT gateway, route tables
  • rds.tf: private Postgres, security groups chained by reference, RDS-managed master password in Secrets Manager (no secret in state)
  • s3.tf: account-ID-named bucket with public access fully blocked
  • iam.tf: task role with cross-region Bedrock inference-profile scoping

Verified end to end with apply -> inspect -> destroy (29 resources, zero residue). State and the provider cache are git-ignored; the provider lock file is committed for reproducible versions.

Provision the cloud stack as code: a production-shaped three-tier VPC
(public / private-app / private-data across two AZs, single NAT), a
private RDS Postgres 16 instance with no public endpoint, an S3 bucket
for raw documents, and a least-privilege IAM task role scoped to the
specific Bedrock models the service calls plus the one bucket.

- network.tf: VPC, six subnets, IGW, single NAT gateway, route tables
- rds.tf: private Postgres, security groups chained by reference,
  RDS-managed master password in Secrets Manager (no secret in state)
- s3.tf: account-ID-named bucket with public access fully blocked
- iam.tf: task role with cross-region Bedrock inference-profile scoping

Verified end to end with apply -> inspect -> destroy (29 resources,
zero residue). State and the provider cache are git-ignored; the
provider lock file is committed for reproducible versions.
@Go-Santiago-Go
Go-Santiago-Go merged commit 999f184 into main Jul 10, 2026
2 checks passed
@Go-Santiago-Go
Go-Santiago-Go deleted the phase-7-terraform branch July 11, 2026 18:14
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