Skip to content

terraform-branch-deploy

Actions
Deploy Terraform infrastructure changes through pull request comments using IssueOps and branch deployments
v0.1.0
Latest
Star (4)

Tags

 (2)

Terraform Branch Deploy

MIT License OpenSSF Scorecard Quality Gate Status CodeQL Dependabot pre-commit.ci status

Terraform Branch Deploy Cover

📖 Documentation (GitHub Pages)

📝 Overview

Terraform Branch Deploy extends branch-deploy with first-class support for Terraform infrastructure automation.

⭐ Key Features

  • PR-driven automation: Trigger plan and apply by commenting on pull requests.
  • Environment targeting: Define environments (dev, staging, prod, etc.) in .tf-branch-deploy.yml with per-environment config, var files, and working directories.
  • Safe deployments: Preview every change with a Terraform plan before apply, and support instant rollbacks to a stable branch.
  • Environment locking: Prevent concurrent or conflicting deployments with automatic and manual environment locks.
  • Custom arguments: Pass extra Terraform CLI arguments from PR comments and fine-tune behavior per environment or globally via .tf-branch-deploy.yml.
  • Enterprise ready: Works with GitHub Enterprise Server (GHES) and public GitHub, with automated GHES release tagging.
  • Workflow integration: Use the skip input to extract environment context for advanced, multi-step workflows without running Terraform operations.

📸 See It In Action

Watch Terraform Branch Deploy in action - from comment to Terraform infrastructure deployment:

terraform-branch-deploy-demo.mp4

📃 License

MIT License - see LICENSE for details.


🔗 Quick Links

terraform-branch-deploy 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.

About

Deploy Terraform infrastructure changes through pull request comments using IssueOps and branch deployments
v0.1.0
Latest

Tags

 (2)

terraform-branch-deploy 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.