Name | Version |
---|---|
terraform | >= 1.3 |
aws | >= 5.53 |
Name | Version |
---|---|
aws | >= 5.53 |
No modules.
Name | Type |
---|---|
aws_s3_bucket.bucket | resource |
aws_s3_bucket_logging.logging_configuration | resource |
aws_s3_bucket_ownership_controls.ownership | resource |
aws_s3_bucket_public_access_block.public_access_block | resource |
aws_s3_bucket_server_side_encryption_configuration.encryption | resource |
aws_s3_bucket_versioning.versioning | resource |
Name | Description | Type | Default | Required |
---|---|---|---|---|
bucket_name | The name of the S3 bucket to be created | string |
n/a | yes |
kms_key | The ARN of the KMS key for bucket's encryption. If not set, the default AWS/S3 key will be used | string |
null |
no |
logging_configuration | Logging configuration block | object({ |
{ |
no |
object_ownership | Set the bucket ownership | string |
"BucketOwnerEnforced" |
no |
public_access_configuration | Public access configuration block | object({ |
{ |
no |
versioning_status | Enable versioning on the bucket | string |
"Disabled" |
no |
Name | Description |
---|---|
arn | The S3 bucket ARN |
id | The name of S3 bucket |
region | The AWS region in which the S3 bucket is deployed |