apfm-actions/S3 Deploy

Deploy an AWS S3 using Terraform

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stalelast commit Feb 15, 2022
License
MIT

Pinned Snippet

workflow.ymlSHA-pinned
uses: apfm-actions/terraform-s3-action@a3534ee02c7aab85bd395db23be446f693607113 # no releases — HEAD as of 2026-07-10

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

namedescriptionrequireddefault
destroyRuns Terraform destroy to remove resources created by this actionnofalse
deployRuns Terraform apply to create/update resources created by this actionnotrue
planRuns Terraform plan to check the changes necessary to achieve the desired statenotrue
bucket_nameThe name of the bucketyes
aclThe canned ACL to apply. https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html#canned-acl. If enable_website is true, public-read ACL will be used.noprivate
bucket_policyA valid bucket policy JSON document. If enable_website is true, a public read bucket policy will be used.no
force_destroyAllows Terraform to destroy a non-empty S3 bucketnofalse
enable_websiteIf true, configures s3 bucket as a websitenofalse
website_index_documentAmazon S3 returns this index document when requests are made to the root domain or any of the subfoldersnoindex.html
website_error_documentAn absolute path to the document to return in case of a 4XX errorno
website_redirectA hostname to redirect all website requests for this bucket to. Hostname can optionally be prefixed with a protocol (http:// or https://) to use when redirecting requests. The default is the protocol that is used in the original requestno
namedescription
bucket_arnThe ARN of the bucket
website_endpointThe website endpoint, if the bucket is configured with a website. If not, this will be an empty string
access_policy_arnThe ARN of the IAM policy that grants read-write access to the bucket