Infrastructure-as-code for the pathto-x website. Source code is at https://github.com/pathto-x/pathto-x.github.io.
- Terraform >= 1.9 (see
.terraform-versionfor the pinned version) - AWS credentials configured with sufficient permissions to manage the resources in this repo
Initialize the working directory (only needed on first use or after provider version changes):
terraform -chdir=terraform initPreview changes before applying:
terraform -chdir=terraform plan -out tf.planApply changes as planned:
terraform -chdir=terraform apply tf.planAfter the first terraform apply, the AWS CodeConnections connection (pathto-x-github) will be in a PENDING state and the CodePipeline will not run until it is authorized. To complete the setup:
- Go to the AWS Console → CodePipeline → Settings → Connections
- Find
pathto-x-githuband click Update pending connection - Follow the prompts to authorize the GitHub App on the
pathto-xorganization
This step only needs to be done once.