Skip to content

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

AWS S3 bucket

This module creates a S3 bucket

Requirements

Name Version
terraform ~> 1.3
aws >= 4.67.0, < 5.0.0
time ~> 0.9.1

Providers

Name Version
aws >= 4.67.0, < 5.0.0
time ~> 0.9.1

Modules

No modules.

Resources

Name Type
aws_s3_bucket.bucket resource
aws_s3_bucket_acl.default resource
aws_s3_bucket_ownership_controls.default resource
aws_s3_bucket_public_access_block.bucket_public_access resource
aws_s3_bucket_server_side_encryption_configuration.encryption resource
aws_s3_bucket_versioning.versioning resource
time_static.last_update resource

Inputs

Name Description Type Default Required
acl acls string "private" no
block_public_acls Whether Amazon S3 should block public ACLs for this bucket. Defaults to true. bool true no
block_public_policy Whether Amazon S3 should block public bucket policies for this bucket. Defaults to true. bool true no
customer Customer for the current deployment string "" no
force_destroy A boolean that indicates all objects should be deleted from the bucket so that the bucket can be destroyed without error. These objects are not recoverable. bool false no
ignore_public_acls Whether Amazon S3 should ignore public ACLs for this bucket. Defaults to true. bool true no
name Name to be used on all the resources as identifier string n/a yes
object_lock_enabled A boolean that indicates whether this bucket has an Object Lock configuration enabled. Enable Object Lock to prevent objects from being deleted or overwritten for a fixed amount of time or indefinitely. bool false no
object_ownership The container element for object ownership for a bucket's ownership controls. string "BucketOwnerPreferred" no
restrict_public_buckets Whether Amazon S3 should restrict public bucket policies for this bucket. Defaults to true. bool true no
sse_enabled A boolean that indicates whether this bucket has SSE enabled. bool true no
tags Default tags to add to resources map(any) {} no
versioning_enabled A boolean that indicates whether this bucket has versioning enabled. bool true no

Outputs

Name Description
arn n/a
bucket_domain_name n/a
id n/a