7factor/Create S3 tfstate backend
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Maintainedlast commit May 22, 2025
- License
- MIT
Pinned Snippet
uses: 7factor/tfstate-s3-backend-action@ff063316dd7522ec8e41fc21a3a44bc21367e41a # v1.0.2tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| first_run | If true, terraform will first be run with a local backend, and then subsequently run again to migrate the state to the backend specified in the tfbackend_content input. | no | false |
| plan_only | If true, will only run a terraform plan. If the first_run input is true, then only the local terraform step will be performed as a plan. | no | false |
| additional_tfbackend_content | Additional content for the s3 backend configuration beyond the bare minimums. | no | "" |
| workspace | A unique per account name which will be used to determine the path for this terraform's state file. | yes | — |
| s3_bucket_name | The name of the S3 bucket used for Terraform state files. Must be globally unique. | yes | — |
Outputs
no outputs