terraform.aws-baseline-infra/modules/storage/infra-s3-bucket/README.md
2021-01-29 16:21:17 +08:00

21 lines
1.0 KiB
Markdown

# Overview
This module performs the following tasks:
- Create s3 bucket using default settings and AWS AES256 encryption
## Inputs:
| Name | Description | Type | Default | Required |
|------|-------------|------|---------|:-----:|
| application | name of application | string | none | yes |
| environment | capacity of environment (prd/dev/lab) | string | none | yes |
| customer-name | owner of aws resources | string | none | yes |
| project | name of project | string | none | yes |
| default-tags | tags to be added to resources | list | none | yes |
| aws-region-short | short name of aws region (e.g. apne1) | string | none | yes |
| bucket-name | name or prefix of s3 bucket | string | none | yes |
| add-random-suffix | Whether to append a random string to bucket name | bool | false | no |
| bucket-policy-json | bucket policy | json | none | yes |
| enable-bucket-versioning | Whether to enable bucket versioning | book | false | yes |
| bucket-retain-days | Days before s3 objects are expired on s3 | number | 90 | yes |