Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Terraform

Terraform manages infrastructure changes as code, and AWS CodePipeline executes those changes in each environment.

Production

On the production environment, after code is merged into the master branch, a release should be triggered in CodePipeline.

Steps:

  1. Open AWS CodePipeline.
  2. Select the production Terraform pipeline.
  3. Confirm the latest commit on master is included.
  4. Trigger Release change.
  5. Monitor plan and apply stages until completion.

Sandbox

On the sandbox environment, after code is pushed into the dev branch, the changes are automatically deployed through CodePipeline.

Steps:

  1. Push changes to dev.
  2. Verify the sandbox pipeline starts automatically.
  3. Check pipeline logs for plan and apply results.
  4. Validate the applied infrastructure changes in the sandbox environment.