{"repo":"borchero/terraform-plan-comment","free":true,"listed":false,"github":"https://github.com/borchero/terraform-plan-comment","clone":"git clone https://github.com/borchero/terraform-plan-comment.git","description":"GitHub Action to post the output of \"terraform plan\" to a pull request comment.","language":"TypeScript","stars":153,"topics":["github-actions","terraform"],"license":"MIT","category":"deployment-docker-iac","readme_excerpt":"terraform-plan-comment GitHub Action to post the output of terraform plan to a pull request comment. Features - Generate a structured, \"markdown-native\" representation of the plan - Obtain a high-level overview via foldable sections - Do not lose any information compared to the output of terraform plan - Post the plan to pull requests as a \"sticky comment\" - Run as a \"native\" JavaScript action rather than launching a Docker container - Use with or without the Terraform wrapper script provided by hashicorp/setup-terraform Usage With terraform With terragrunt Example Comments Collapsed Expanded Parameters token (required) Required input parameter to access the GitHub API for posting a pull request comment. Can be provided as ${{ github.token }} , ${{ env.GITHUB TOKEN }} or some personal access token with appropriate permissions. If using the workflow-provided token, make sure that your workflow/job has write-permissions to pull requests. planfile (required) The path to the planfile generated by terraform plan which holds the information about which changes ought to be applied. terraform-cmd The command to execute to call the Terraform binary. Defaults to terraform . You likely don't need to augment this unless terraform cannot be found in the PATH . working-directory The directory where the Terraform binary ought to be called. Defaults to $GITHUB WORKSPACE and must be specified if terraform init has been run in a different directory. Should be specified relative to $GITHUB WORK","default_branch":null,"files":null,"tree":[],"storefront":"/r/borchero","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/borchero/terraform-plan-comment/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."}