This is a use example to the terraform module tf-module-s3.
$ terraform apply -var-file=environments/staging.tfvars -auto-approve
Name |
Version |
terraform |
>= 0.12.20 |
Name |
Version |
aws |
~ 2.0 |
template |
~ 2.0 |
Name |
Description |
Type |
Default |
Required |
acl |
n/a |
string |
"private" |
no |
application |
n/a |
string |
"manhattan" |
no |
bucket |
The name of the bucket to which to apply the policy. |
string |
"" |
no |
business_owner |
n/a |
string |
"leandromoreirati" |
no |
create_bucket_policy |
n/a |
string |
"false" |
no |
environment |
n/a |
string |
"" |
no |
lifecycle_rules |
Enable or disable lifecycle bucket policy, could be create_before_destroy, prevent_destroy or ignore_changes. |
map |
{} |
no |
logging_rules |
S3 Logging dynamic configuration block. |
list |
[] |
no |
policy |
The text of the policy. |
string |
"" |
no |
profile |
n/a |
string |
"lmoreira" |
no |
region |
n/a |
string |
"us-east-1" |
no |
versioning |
n/a |
string |
"false" |
no |
Name |
Description |
manhattan_daily_arn |
ARN of the bucket. |
manhattan_daily_id |
Name of the bucket. |
manhattan_daily_name |
ARN of the bucket. |
manhattan_hourly_arn |
ARN of the bucket. |
manhattan_hourly_id |
Name of the bucket. |
manhattan_hourly_name |
ARN of the bucket. |
manhattan_weekely_arn |
ARN of the bucket. |
manhattan_weekely_id |
Name of the bucket. |
manhattan_weekely_name |
ARN of the bucket. |