Amazon CodeCatalyst workflow for a PR branch for Terraform using GitHub Actions

Example CodeCatalyst workflow to run Terraform plan on a PR branch 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-03-01
This snippet shows a CodeCatalyst workflow that will run Terraform validate and plan to test if the Terraform code is valid on a PR. It is intended to be used on a PR branch - see this example of the main 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.