Amazon CodeCatalyst workflow for Terraform using GitHub Actions

Example CodeCatalyst workflow to apply Terraform infrastructure changes using GitHub Actions.

AWS Admin
Amazon Employee
Published May 5, 2023
Last Modified Jun 21, 2024
💻 Examples ofHashicorp HCL
CodeCatalyst Workflow
GitHub Actions
⏰ Last Updated2023-05-05
This snippet shows a CodeCatalyst workflow using GitHub Actions that will run Terraform to apply infrastructure changes. It uses validate and plan to test if the Terraform code is valid. It is intended to be used on the main branch, and run after merging a PR that has been validated - see this example of the PR branch workflow. Alternative version using standard CodeCatalyst workflow.
Used in:


Any opinions in this post are those of the individual author and may not reflect the opinions of AWS.