glueops/OpenTofu - Continuous Delivery
Abstracts multiple OpenTofu actions from @dflook and provides a streamlined workflow with some basic customization
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Activelast commit Jun 30, 2026
- License
- None
Pinned Snippet
uses: glueops/github-actions-opentofu-continuous-delivery@b1808ba89f6c3b0f038ac2ceb97583ac70590489 # v6.1.1tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| path | Path to the tofu configuration | no | . |
| workspace | Name of the tofu workspace | no | default |
| backend_config | List of backend config values to set, one per line | no | "" |
| backend_config_file | Path to a backend config file | no | "" |
| variables | Variable definitions | no | "" |
| var_file | List of var file paths, one per line | no | "" |
| parallelism | Limit the number of concurrent operations | no | 0 |
| label | A friendly name for this plan | no | "" |
| target | List of resources to target for the apply, one per line | no | "" |
| replace | List of resources to replace if an update is required, one per line | no | "" |
| destroy | Create and apply a plan to destroy all resources | no | false |
| backend_type | The backend plugin name | yes | — |
| add_github_comment | Post a sticky comment on the PR with the plan (inlined when it fits, otherwise a link to the tofu-plan.txt artifact) | no | true |
| ENABLE_DANGEROUS_AUTO_APPLY_MODE | If enabled, any changes including: Destroy, Apply, Replace will be automatically approved. | no | false |
Outputs
| name | description |
|---|---|
| tofu | The tofu version used by the configuration |
| changes | If the generated plan would update any resources or outputs this is set to `true`, otherwise it's set to `false`. |
| to_add | The number of resources that would be added by this plan |
| to_change | The number of resources that would be changed by this plan |
| to_destroy | The number of resources that would be destroyed by this plan |
| plan_path | Path to a file in the workspace containing the generated plan in an opaque binary format. |
| text_plan_path | Path to a file in the workspace containing the generated plan in human readable format. This won't be set if the backend type is `remote` and `auto_approve` is `true` |
| json_plan_path | Path to a file in the workspace containing the generated plan in JSON format. This won't be set if the backend type is `remote`. |
| run_id | If the root module uses the `remote` or `cloud` backend in remote execution mode, this output will be set to the remote run id. |
| failure-reason | The reason for the build failure. May be `apply-failed` or `plan-changed`. |