Skip to content

Templates

The Golden Path ships a set of reusable Terraform templates (packages) that you add to an environment with ok pkg add <name> and install with ok pkg install. This page lists every template, grouped by area, with a link to its reference documentation.

Terraform

Template Description
remote-state S3 bucket and DynamoDB table for storing Terraform state remotely

Networking

Template Description
certificates ACM TLS certificates for your environment's domains
dns Route 53 hosted zone and DNS for the environment subdomain
load-balancing-alb Public Application Load Balancer for routing internet traffic
load-balancing-alb-data Supporting data resources for the ALB stack
networking VPC and core network shared by the environment
networking-data Supporting data resources for the networking stack

Database

Template Description
databases Shared PostgreSQL (Aurora) database cluster
rds-bastion Bastion for connecting to RDS databases from your computer

Application

Template Description
app ECS service for a containerized application
app-common Shared application infrastructure (ECS cluster, ECR pull-through cache)
app-data Data resources for an application stack
cloudfront-static-website S3 + CloudFront static website with TLS and a custom domain
cloudfront-static-website-data Data resources (S3 buckets) for a CloudFront static website

CICD

Template Description
iam GitHub OIDC IAM roles for CI/CD

Backup

Template Description
backup AWS Backup plans and vaults

Observability

Template Description
datadog-common Shared Datadog integration for the environment