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