rindrics/Terraform Backend Action
Download or upload Terraform state file from/to GitHub repository
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| token | GitHub Token | yes | — |
| state_repo | Repository containing the Terraform state file | yes | — |
| action | Action to perform (download or upload) | yes | — |
| sha | SHA of the state file to be overwritten by upload action (required for upload) | no | — |
| state_path_remote | Path to the Terraform state file in `state_repo` | no | terraform.tfstate |
| state_path_local | Path to the Terraform state file in GitHub Actions environment | no | terraform.tfstate |
| commit_message | Commit message for the upload action | no | Update state file |
| committer_name | Committer name for the upload action | no | github-actions[bot] |
| committer_email | Committer email for the upload action | no | github-actions[bot]@users.noreply.github.com |
Outputs
| name | description |
|---|---|
| sha | SHA of the state file (only for download) |