{"repo":"OP5dev/TF-via-PR","free":true,"listed":false,"github":"https://github.com/OP5dev/TF-via-PR","clone":"git clone https://github.com/OP5dev/TF-via-PR.git","description":"Plan and apply Terraform/OpenTofu via PR automation, using best practices for secure and scalable IaC workflows.","language":"TypeScript","stars":335,"topics":["automation","aws","terraform","devops","cicd-pipeline","github-actions","platform-engineering","infrastructure-as-code","opentofu"],"license":"Apache-2.0","category":"deployment-docker-iac","readme_excerpt":"Terraform/OpenTofu via Pull Request (tf-via-pr) What does it do? Who is it for? Plan and apply changes with CLI arguments and encrypted plan file to avoid configuration drift. Outline diff within up-to-date PR comment and matrix-friendly workflow summary, complete with log. DevOps and Platform engineers wanting to empower their teams to self-service scalably. Maintainers looking to secure their pipeline without the overhead of containers or VMs. View: Usage Examples · Inputs · Outputs · Security · Changelog · License Usage Examples How to get started? [!TIP] - All supported arguments (e.g., -backend-config , -destroy , -parallelism , etc.) are listed below. - Environment variables can be passed in for cloud platform authentication (e.g., configure-aws-credentials for short-lived credentials via OIDC). - Recommend setting terraform wrapper / tofu wrapper to false in order to output the detailed exit code for better error handling. Where to find more examples? The following workflows showcase common use cases, while a comprehensive list of inputs is documented below. #1 example ⤴ Runs on pull request (plan) and push (apply) events with Terraform, AWS authentication and cache . #2 example ⤴ Runs on pull request (plan) and merge group (apply) events with OpenTofu in matrix strategy. #3 example ⤴ Runs on pull request (plan) and push (apply) events with fmt/validate checks and TFLint. #4 example ⤴ Runs on pull request (plan) and push (apply) events with conditional jobs based on pl","default_branch":null,"files":null,"tree":[],"storefront":"/r/OP5dev","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/OP5dev/TF-via-PR/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."}