AWS Terraform Modules
PrivateA reusable Terraform module library — a CloudFront + S3 static-hosting module and a CodeBuild CI/CD pipeline module.
About this project
What it is
A shared Terraform module library that encapsulates two common AWS infrastructure patterns as reusable, parameterized modules. The cloudfront-s3 module provisions a complete static-site hosting stack: S3 bucket, CloudFront distribution with HTTPS, Route53 DNS records, and ACM SSL certificate — all from a single module call with a domain name and bucket name as inputs. The codebuild-pipeline module provisions a CodeBuild project with the necessary IAM permissions and build data sources for a CI/CD pipeline. Both modules are consumed by cipher-codex-aws-infra and other Cipher Codex projects, making infrastructure consistent across deployments.
Engineering highlights
- cloudfront-s3 module: S3 bucket + CloudFront distribution + Route53 A/AAAA records + ACM SSL certificate in one module call
- codebuild-pipeline module: CodeBuild project + IAM roles + build data sources — parameterized for reuse
- Required variables kept minimal (bucket_name, comment, domain_name) for fast onboarding
- Module outputs surface ARNs and URLs for use by consuming configurations
- Reused across cipher-codex-aws-infra and other projects in the Cipher Codex org