{"repo":"dflook/terraform-apply","free":true,"listed":false,"github":"https://github.com/dflook/terraform-apply","clone":"git clone https://github.com/dflook/terraform-apply.git","description":"GitHub action to apply terraform plans","language":null,"stars":35,"topics":["terraform","github-action","github-actions","actions","devops"],"license":null,"category":"deployment-docker-iac","readme_excerpt":"terraform-apply action This is one of a suite of Terraform related actions - find them at dflook/terraform-github-actions. This action applies a Terraform plan. The default behaviour is to apply the plan that has been added to a PR using the dflook/terraform-plan action. If the plan is not found or has changed, then the apply action will fail. This is to ensure that the action only applies changes that have been reviewed by a human. You can instead set auto approve: true which will generate a plan and apply it immediately, without looking for a plan attached to a PR. Demo This a demo of the process for apply a Terraform change using the dflook/terraform-plan and dflook/terraform-apply actions. GitHub To make best use of this action, require that the plan is always reviewed before merging the PR to approve. You can enforce this in github by going to the branch settings for the repo and enable protection for the main branch: 1. Enable 'Require pull request reviews before merging' 2. Check 'Dismiss stale pull request approvals when new commits are pushed' 3. Enable 'Require status checks to pass before merging', and select the job that runs the plan. 4. Enable 'Require branches to be up to date before merging' Inputs These input values must be the same as any dflook/terraform-plan for the same configuration. (unless auto approve: true) path Path to the Terraform root module to apply - Type: string - Optional - Default: The action workspace workspace Terraform workspace to run th","default_branch":null,"files":null,"tree":[],"storefront":"/r/dflook","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/dflook/terraform-apply/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."}