Name | Version |
---|---|
aws | 4.65.0 |
Name | Version |
---|---|
aws | 4.65.0 |
No modules.
Name | Type |
---|---|
aws_s3_bucket.bucket | resource |
aws_s3_bucket.log_bucket | resource |
aws_s3_bucket_acl.log_bucket_acl | resource |
aws_s3_bucket_lifecycle_configuration.logs_30d_lifecycle | resource |
aws_s3_bucket_lifecycle_configuration.nonversioned_30d_lifecycle | resource |
aws_s3_bucket_lifecycle_configuration.versioned_30d_lifecycle | resource |
aws_s3_bucket_logging.example | resource |
aws_s3_bucket_ownership_controls.ownership_control | resource |
aws_s3_bucket_versioning.versioning_example | resource |
aws_s3_bucket_website_configuration.statis_website | resource |
Name | Description | Type | Default | Required |
---|---|---|---|---|
bucket_name | The name of the S3 bucket. Must be globally unique. | string |
n/a | yes |
default_tags | Default tag values | map(string) |
{ |
no |
enable_30d_lifecycle | If the bucket should have a 30 day lifecycle rule. | bool |
false |
no |
enable_logging | If the bucket should have logging enabled. | bool |
false |
no |
enable_static_website | If the bucket should be configured as a static website. | bool |
false |
no |
enable_versioning | If the bucket should have versioning enabled. | bool |
false |
no |
force_destroy | If all objects should be deleted from the bucket so that the bucket can be destroyed without error. | bool |
false |
no |
object_lock_enabled | If the bucket should be locked to prevent objects from being deleted or overwritten. | bool |
false |
no |
Name | Description |
---|---|
bucket_id | The ID of the S3 bucket. |
Name | Version |
---|---|
aws | 4.65.0 |
Name | Version |
---|---|
aws | 4.65.0 |
No modules.
Name | Description | Type | Default | Required |
---|---|---|---|---|
bucket_name | The name of the S3 bucket. Must be globally unique. | string |
n/a | yes |
default_tags | Default tag values | map(string) |
{ |
no |
enable_30d_lifecycle | If the bucket should have a 30 day lifecycle rule. | bool |
false |
no |
enable_logging | If the bucket should have logging enabled. | bool |
false |
no |
enable_static_website | If the bucket should be configured as a static website. | bool |
false |
no |
enable_versioning | If the bucket should have versioning enabled. | bool |
false |
no |
force_destroy | If all objects should be deleted from the bucket so that the bucket can be destroyed without error. | bool |
false |
no |
object_lock_enabled | If the bucket should be locked to prevent objects from being deleted or overwritten. | bool |
false |
no |
Name | Description |
---|---|
bucket_id | The ID of the S3 bucket. |