Skip to content

Latest commit

 

History

History
 
 

secure-bucket

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

secure-bucket

Creates a S3 bucket with access logging enabled.

Inputs

Name Description Type Default Required
bucket_name string n/a yes
enabled A boolean that indicates this module is enabled. Resources are not created if it is set to false. string "true" 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. string "false" no
lifecycle_glacier_transition_days The number of days after object creation when the object is archived into Glacier. string "90" no
log_bucket_name string n/a yes
tags Specifies object tags key and value. This applies to all resources created by this module. map { "Terraform": true } no

Outputs

Name Description
log_bucket The S3 bucket used for storing access logs of this bucket.
this_bucket This S3 bucket.