{"repo":"terraform-aws-modules/terraform-aws-s3-bucket","free":true,"listed":false,"github":"https://github.com/terraform-aws-modules/terraform-aws-s3-bucket","clone":"git clone https://github.com/terraform-aws-modules/terraform-aws-s3-bucket.git","description":"Terraform module to create AWS S3 resources 🇺🇦","language":"HCL","stars":581,"topics":["aws","s3","terraform-module","aws-s3"],"license":"Apache-2.0","category":"deployment-docker-iac","readme_excerpt":"AWS S3 bucket Terraform module Terraform module which creates S3 bucket on AWS with all (or almost all) features provided by Terraform AWS provider. These features of S3 bucket configurations are supported: - static web-site hosting - access logging - versioning - CORS - lifecycle rules - server-side encryption - object locking - Cross-Region Replication (CRR) - ELB log delivery bucket policy - ALB/NLB log delivery bucket policy - WAF log delivery bucket policy - Account-level Public Access Block - S3 Directory Bucket - S3 Table Bucket - S3 Vectors Usage Private bucket with versioning enabled Bucket with ELB access log delivery policy attached Bucket with ALB/NLB access log delivery policy attached Bucket with WAF log delivery policy attached Bucket with a custom policy attached When you need to attach a custom policy to the bucket, you can use the policy argument. To keep bucket policy with correct S3 bucket and AWS account properties, you can use the placeholders S3 BUCKET ID , S3 BUCKET ARN , and AWS ACCOUNT ID in the policy document. Those values will be replaced with the actual values during the policy attachment. This is especially useful when using bucket prefixes. Conditional creation Sometimes you need to have a way to create S3 resources conditionally but Terraform does not allow to use count inside module block, so the solution is to specify argument create bucket . Terragrunt and variable \"...\" { type = any } There is a bug #1211 in Terragrunt related to the way h","default_branch":null,"files":null,"tree":[],"storefront":"/r/terraform-aws-modules","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/terraform-aws-modules/terraform-aws-s3-bucket/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}