1
0
Files
terraform.examples/modules/storage/S3Bucket/README.md
T

4.5 KiB

Requirements

Name Version
terraform >= 1.13.0
aws >= 6.38.0

Providers

Name Version
aws >= 6.38.0

Modules

No modules.

Resources

Name Type
aws_s3_bucket.this resource
aws_s3_bucket_intelligent_tiering_configuration.intel_tiering_config resource
aws_s3_bucket_lifecycle_configuration.lifecycle resource
aws_s3_bucket_logging.logging resource
aws_s3_bucket_policy.bucket_policy resource
aws_s3_bucket_public_access_block.block_public_access resource
aws_s3_bucket_replication_configuration.replication resource
aws_s3_bucket_server_side_encryption_configuration.encryption resource
aws_s3_bucket_versioning.versioning resource
aws_iam_policy_document.bucket_policy data source

Inputs

Name Description Type Default Required
bucket-namespace Use global or account-regional namespace. Defaults to global string "global" no
bucket_name Name of bucket string n/a yes
bucket_policy_json Json-encoded bucket policy. The AllowSSLRequestsOnly policy is merged with this input. string "{}" no
current-version-archive-tier Current version archive storage class. Valid values are GLACIER, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, DEEP_ARCHIVE, GLACIER_IR string null no
current-version-transition-days Days to transition current version to archive number 15 no
current_version_expiration_days 731 for flowlogs number 2560 no
enable_bucket_lifecycle Enable s3 bucket lifecycle bool n/a yes
enable_bucket_logging Enable bucket logging bool n/a yes
enable_encryption Enable encryption for s3 bucket bool n/a yes
enable_intelligent_tiering Enable intelligent tiering bool false no
enable_replication Enable s3 bucket replication bool false no
enable_versioning Enable s3 bucket versioning bool n/a yes
encryption-enable-bucket-key Enable bucket key bool false no
encryption_key_arn Leave blank to use AES256 string "" no
force-destroy Boolean that indicates all objects should be deleted from the bucket when the bucket is destroyed bool true no
logging_bucket_id Logging bucket id string null no
noncurrent-version-archive-tier Non-current version archive storage class. Valid values are GLACIER, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, DEEP_ARCHIVE, GLACIER_IR string "GLACIER" no
noncurrent-version-transition-days Days to transition non-current version to archive number 15 no
noncurrent_version_expiration_days 731 for flowlogs number 2560 no
replication_dest_bucket_name Replica bucket name string null no
replication_destination_aws_account_id AWS account id of replica bucket number null no
replication_destination_kms_key_arn KMS key ARN of destination bucket string null no
replication_role_arn IAM role of s3 bucket replication string null no

Outputs

Name Description
bucket_arn n/a
bucket_name n/a

Authorship

This module was developed by xpk.