7factor/Create S3 tfstate backend

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Maintainedlast commit May 22, 2025
License
MIT

Pinned Snippet

workflow.ymlSHA-pinned
uses: 7factor/tfstate-s3-backend-action@ff063316dd7522ec8e41fc21a3a44bc21367e41a # v1.0.2

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
first_runIf 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. nofalse
plan_onlyIf 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. nofalse
additional_tfbackend_contentAdditional content for the s3 backend configuration beyond the bare minimums.no""
workspaceA unique per account name which will be used to determine the path for this terraform's state file.yes
s3_bucket_nameThe name of the S3 bucket used for Terraform state files. Must be globally unique.yes

no outputs