{"repo":"cds-snc/terraform-plan","free":true,"listed":false,"github":"https://github.com/cds-snc/terraform-plan","clone":"git clone https://github.com/cds-snc/terraform-plan.git","description":"GitHub Action to run Terraform plan and add a comment with the changes.","language":"JavaScript","stars":64,"topics":["github-actions","terraform","terragrunt"],"license":"MIT","category":"deployment-docker-iac","readme_excerpt":"Terraform Plan GitHub Action Runs terraform plan on your project and posts a comment with the changes on a Pull Request (PR). It runs the following commands: This action does not install Terraform, Terragrunt or TF Summarize, but these can be installed using the CDS Terraform tools setup action. You can see how it's used in the pr-test.yaml workflow. Settings Use the following settings to control the action: Setting Description Default ------------------ -------------------------------------------------------------------- -------------- allow-failure Allow the action to fail false comment Add comment with changes to the PR true comment-delete Delete previous comments made by the bot on the PR. Comments are deleted based on comment-title and directory . false comment-title The title to give the PR comment Plan changes conftest-character-limit Character limit for Conftest output 2000 conftest-checks Location of custom conftest check definitions git::https://github.com/cds-snc/opa checks.git//aws terraform directory Directory with the .tf files to validate . github-token GitHub Token used to add comment to PR (required to add comments). plan-character-limit Character limit for Terraform plan output 30000 terraform-init Custom Terraform init args terraform-plan Custom Terraform plan args terragrunt-plan Custom Terragrunt plan args terragrunt Use Terragrunt instead of Terraform false open-tofu Use OpenTofu instead of Terraform false secret-scan Scan Terraform plan with TruffleHog ","default_branch":null,"files":null,"tree":[],"storefront":"/r/cds-snc","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/cds-snc/terraform-plan/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}