Skip to content

Harvard-ATG/atg-ops-pathto-x

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 

Repository files navigation

atg-ops-pathto-x

Infrastructure-as-code for the pathto-x website. Source code is at https://github.com/pathto-x/pathto-x.github.io.

Prerequisites

  • Terraform >= 1.9 (see .terraform-version for the pinned version)
  • AWS credentials configured with sufficient permissions to manage the resources in this repo

Deploying infrastructure changes

Initialize the working directory (only needed on first use or after provider version changes):

terraform -chdir=terraform init

Preview changes before applying:

terraform -chdir=terraform plan -out tf.plan

Apply changes as planned:

terraform -chdir=terraform apply tf.plan

First-time setup: authorizing the GitHub connection

After 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:

  1. Go to the AWS Console → CodePipelineSettingsConnections
  2. Find pathto-x-github and click Update pending connection
  3. Follow the prompts to authorize the GitHub App on the pathto-x organization

This step only needs to be done once.

About

Infrastructure-as-code for the pathto-x website whose source code is at https://github.com/pathto-x/pathto-x.github.io.

Resources

Stars

0 stars

Watchers

8 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages