delivops/delivops-github-action-terraform
Fully automated Terraform GitHub Action: fmt, init, validate, plan, apply.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Activelast commit Apr 18, 2026
- License
- MIT
Pinned Snippet
uses: delivops/terraform-action@ddb9449ba5c176d4d6f75089970b8ba69218e0a0 # v0.0.15tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| working_directory | Directory containing Terraform configuration | yes | — |
| aws_region | AWS Region (e.g., us-east-1, eu-west-1) | yes | — |
| aws_role | AWS Role name to assume for authentication | yes | — |
| terraform_version | Terraform version to install | no | 1.9.8 |
| environment | Terraform environment (e.g., dev, staging, prod) | yes | — |
| aws_account_id | AWS Account ID (12-digit number) | yes | — |
| github_token | GitHub token for PR comments | yes | — |
| var_file | Path to a .tfvars file (relative to working_directory) | no | "" |
| extra_args | Additional arguments to pass to terraform plan/apply | no | "" |
| plan_only | Set to true to skip apply even on main branch push | no | false |
Outputs
| name | description |
|---|---|
| fmt_outcome | Outcome of terraform fmt check (success/failure) |
| validate_outcome | Outcome of terraform validate (success/failure) |
| plan_outcome | Outcome of terraform plan (success/failure/skipped) |
| apply_outcome | Outcome of terraform apply (success/failure/skipped) |