1. Provision infrastructure
Use the Terraform configuration in infra/terraform to
create the S3 website bucket and the IAM role for GitHub Actions.
Template repository
This starter includes a plain HTML, CSS, and JavaScript site, Terraform infrastructure, and a deployment workflow that uses GitHub OIDC.
Get started
Use the Terraform configuration in infra/terraform to
create the S3 website bucket and the IAM role for GitHub Actions.
Add the repository variables from the Terraform outputs so the workflow can assume the deployment role and target the correct bucket.
Commits to main automatically sync the contents of the
site folder to S3.
Static HTML, CSS, JavaScript, images, and any public assets.
S3 website hosting, OIDC trust, and deployment IAM policy.
Deployment workflow that publishes the static site to S3.