Review terraform plan
ActionsRun and cleanup terraform plan output, store it into an output to allow reviewing it.
v2.4.0
LatestBy gogaille
Tags
(2)Run and cleanup terraform plan output, store it into an output to allow reviewing it
Required Terraform environment, used to load corresponding var file named <terraform-environment>.tfvars
into the working directory. Default "preproduction"
.
Required Working directory where terraform plan is executed. Default "."
.
Here
- uses: gogaille/review-terraform-plan
id: terraform-plan
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
with:
terraform-environment: 'preproduction'
working-directory: 'infrastructure'
- uses: phulsechinmay/[email protected]
with:
message: ${{ steps.terraform-plan.outputs.plan-details }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
COMMENT_IDENTIFIER: 'terraform-plan-output'
Review terraform plan is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.