Skip to content
T

TF-via-PR

Plan and apply Terraform/OpenTofu via PR automation

by OP5devFree

#2305in Productivity
0In stores

Description

tf-via-pr is a GitHub Action that plans and applies Terraform or OpenTofu changes through pull request automation. A pull request runs a pla…

Highlights

  • Plans on pull requests and applies on push or merge
  • Diff outline posted as an up-to-date PR comment
  • Encrypted plan file to avoid configuration drift
  • Works with Terraform and OpenTofu
  • Scheduled drift detection with refresh-only runs

Ratings & Reviews

No ratings yet

Be the first to rate TF-via-PR.

People also visit

A

Atlantis

Terraform Pull Request Automation

Productivity
Launch
T

Terrateam

Automate infrastructure changes with secure GitOps workflows

Developer Tools
Launch
D

Digger

Open-source CI/CD orchestrator for Terraform

Developer Tools
Launch
T

terraform-skill

by Anton Babenko

AI Skills
Get
T

terraform-engineer

Implementing infrastructure as code with Terraform across AWS, Azure, or GCP

AI Skills
Get
T

terraform-iac-data-engineering

Infrastructure-as-Code with Terraform for data engineering on AWS (S3, EC2, IAM)

AI Skills
Get

TF-via-PR FAQ

What does it do?

It runs Terraform or OpenTofu plans and applies from pull request automation, and posts a summary of the changes back to the pull request.

Who is it for?

DevOps and platform engineers who want teams to self-serve infrastructure changes, and maintainers who want a secure pipeline without containers or VMs.

Can it authenticate to AWS?

Yes. The docs show passing short-lived credentials from OIDC, for example through the configure-aws-credentials action, as environment variables.

Does it run on GitHub Enterprise?

Yes. One example runs on a self-hosted runner for GitHub Enterprise, triggered by a label or a manual workflow dispatch.

Any setup tips?

The project recommends setting the terraform_wrapper or tofu_wrapper input to false so the detailed exit code is returned for better error handling.

What are the best TF-via-PR alternatives?

Popular alternatives to TF-via-PR include Atlantis, Opensible and Create Pull Request. See all TF-via-PR alternatives

Developer Stuff

Badges