terraform.aws-baseline-infra/modules/storage/infra-s3-bucket
2022-09-05 13:52:21 +08:00
..
main.tf UPD: remove deprecated code in infra-bucket, revamped Config module 2022-09-05 11:07:42 +08:00
outputs.tf NEW: awsconfig and s3 module 2021-01-29 16:21:17 +08:00
README.md NEW: added config rules for CIS 2021-01-29 17:35:45 +08:00
variables.tf UPD: updated several modules to simplify input variables 2022-09-05 13:52:21 +08:00

Overview

This module creates s3 bucket using default settings and AWS AES256 encryption The bucket is meant for infrastructure use. Versioning is off and object expires in 90 days

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 bool false no
bucket-retain-days Days before s3 objects are expired on s3 number 90 no