apfm-actions/S3 Deploy
Deploy an AWS S3 using Terraform
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stalelast commit Feb 15, 2022
- License
- MIT
Pinned Snippet
uses: apfm-actions/terraform-s3-action@a3534ee02c7aab85bd395db23be446f693607113 # no releases — HEAD as of 2026-07-10tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| destroy | Runs Terraform destroy to remove resources created by this action | no | false |
| deploy | Runs Terraform apply to create/update resources created by this action | no | true |
| plan | Runs Terraform plan to check the changes necessary to achieve the desired state | no | true |
| bucket_name | The name of the bucket | yes | — |
| acl | The 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. | no | private |
| bucket_policy | A valid bucket policy JSON document. If enable_website is true, a public read bucket policy will be used. | no | — |
| force_destroy | Allows Terraform to destroy a non-empty S3 bucket | no | false |
| enable_website | If true, configures s3 bucket as a website | no | false |
| website_index_document | Amazon S3 returns this index document when requests are made to the root domain or any of the subfolders | no | index.html |
| website_error_document | An absolute path to the document to return in case of a 4XX error | no | — |
| website_redirect | A 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 request | no | — |
Outputs
| name | description |
|---|---|
| bucket_arn | The ARN of the bucket |
| website_endpoint | The website endpoint, if the bucket is configured with a website. If not, this will be an empty string |
| access_policy_arn | The ARN of the IAM policy that grants read-write access to the bucket |