JT / SAGE IDEAS Work with me

03 Evidence

Cloud / infrastructure · Owned project · public code

One request, from the edge to the table, in code.

Static site, API, edge protection and newsletter infrastructure written as four Terraform modules, so the request path can be read, reviewed and rebuilt.

In code · apply unverifiedCounted November 21, 2026sageideas.dev/infra

FinishedFour modules are written, each with its README and provider lock file.NextApply them in a throwaway account and record the receipt.

Terraform modules
4
lines of HCL across 12 files
1,362
WAF web ACLs
2
CloudWatch alarms + a dashboard
2

The problem

A small product still needs a request path someone can reason about: where TLS ends, what filters abusive traffic, what runs the API, where state lives and who gets paged.

Clicking that together in a console leaves nothing to review. I wrote it as modules so every hop is a resource with a name.

Constraints

  • Serverless compute and pay-per-request tables; the fixed costs sit at the edge (WAF) and in DNS.
  • Edge protection in front of both the site and the API.
  • Public access blocked on every bucket.

Architecture

request path / aws-terraformIn code · apply unverified
Request path across the four modules1. Route 53: hosted zone, 10 records. 2. CloudFront + WAF: ACM TLS, web ACL at the edge. 3. API Gateway (HTTP): 6 routes. 4. Lambda: scoped IAM role, log group. 5. DynamoDB: pay-per-request tables. 6. CloudWatch + SNS: alarms, dashboard, alert topic01Route 53hosted zone, 10 records02CloudFront + WAFACM TLS, web ACL at the edge03API Gateway (HTTP)6 routes04Lambdascoped IAM role, log group05DynamoDBpay-per-request tables06CloudWatch + SNSalarms, dashboard, alert topic
Request path across the four modules

Modules: aws-static-site (S3, CloudFront with origin access control), aws-api (API Gateway, Lambda, DynamoDB), aws-api-edge (CloudFront and WAF in front of the API) and aws-newsletter.

What shipped

  • Four modules with variables, outputs and a README each.
  • Provider lock files in every module (terraform init has been run).

Evidence and receipts

  • Owned

    sageideas.dev/infra

    Read every resource. Counted with wc -l over *.tf.

    Repogithub.com/JasonTeixeira/sageideas.dev/tree/main/infra

What I would do differently

  • Add a remote state backend with locking before anyone else touches it.
  • Move the committed terraform.tfvars files to .tfvars.example; they hold no secrets, but identifiers do not belong in a public repo.
  • Add terraform validate and a plan step to CI on a self-hosted runner.

Honest limitations

01 Input

Next step

Bring an AI feature or workflow that has to keep working. We scope the first verifiable step on a 15-minute call, and I give an honest answer on fit either way.

Book a 15-minute call Not sure what you need? Answer 3 questions

Have a system that needs to work?

Tell me the problem. I will tell you honestly whether I am the right engineer for it.

Book a 15-minute call Run a free audit Not sure what you need? Answer 3 questions