Name | Version |
---|---|
terraform | >=1.0.9 |
aws | ~> 4 |
Name | Version |
---|---|
aws | 4.36.0 |
Name | Source | Version |
---|---|---|
bucket | terraform-aws-modules/s3-bucket/aws | 3.2.0 |
Name | Type |
---|---|
aws_kms_alias.alias | resource |
aws_kms_key.kms | resource |
aws_s3_bucket_policy.bucket | resource |
aws_caller_identity.current | data source |
aws_elb_service_account.this | data source |
aws_iam_policy_document.combined | data source |
aws_iam_policy_document.deny_insecure_transport | data source |
aws_iam_policy_document.elb_log_delivery | data source |
aws_iam_policy_document.kms | data source |
aws_iam_policy_document.lb_log_delivery | data source |
aws_iam_policy_document.require_latest_tls | data source |
aws_iam_policy_document.s3 | data source |
Name | Description | Type | Default | Required |
---|---|---|---|---|
acl | Bucket ACL | string |
"private" |
no |
attach_elb_log_delivery_policy | Attach ELB log delivery policy | bool |
false |
no |
attach_lb_log_delivery_policy | Attach LB log delivery policy | bool |
false |
no |
bucket_actions | List of bucket actions that the principals are allowed to execute. | list(string) |
[ |
no |
bucket_prefix | Instead of a bucket name we use a bucket-prefix, also used for KMS key alias prefix. | string |
n/a | yes |
encrypt_with_aws_managed_keys | Encrypt the data with a KMS key | bool |
false |
no |
iam_principals | List of IAM principals that can access the bucket. | list(string) |
[] |
no |
kms_actions | List of KMS key actions that the principals are allowed to execute. | list(string) |
[ |
no |
kms_key_policy_statements | (Optional) Additional KMS key policy statements to add. | list(object({ |
[] |
no |
lifecycle_rule | List of maps containing configuration of object lifecycle management. | any |
[ |
no |
logging | Map containing access bucket logging configuration. | map(string) |
{} |
no |
object_actions | List of object actions that the principals are allowed to execute. | list(string) |
[ |
no |
purpose | Purpose for the bucket and KMS key, used in the description fields. | string |
n/a | yes |
replication_configuration | Map containing cross-region replication configuration. | any |
{} |
no |
service_principals | List of service principals that can access the bucket. | list(string) |
[] |
no |
versioning | Object versioning | bool |
true |
no |
Name | Description |
---|---|
bucket | AWS S3 Bucket |
kms | AWS KMS key |
kms_alias | AWS KMS key alias |