Staging Static Site Infrastructure

This Terraform stack provisions the AWS resources required for the staging Jekyll site:

Files

First Run

cd infrastructure/staging-site
cp terraform.tfvars.example terraform.tfvars
terraform init
terraform apply

Wrapper Script

From the repo root you can use:

./scripts/provision-staging-site.sh

That script will:

  1. Generate terraform.tfvars if it does not exist
  2. Run terraform init
  3. Run terraform apply
  4. Write .env.staging.local from Terraform outputs

Notes