You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| logging_bucket | S3 bucket to send access logs to. |`string`| n/a | yes |
42
+
| name | Name of the bucket. The project and environment will be prepended to this automatically. |`string`| n/a | yes |
43
+
| project | Project that these resources are supporting. This is used in the prefix to all resource names. |`string`| n/a | yes |
44
+
| abort_incomplete_multipart_upload_days | Number of days to abort incomplete multipart uploads. |`number`|`7`| no |
45
+
| allowed_principals | List of AWS principal ARNs to allow to use the KMS key. This is used to grant access to other resources that need to use the key, such as ECS task roles. |`list(string)`|`[]`| no |
46
+
| encryption_key_arn | ARN of the KMS key to use for S3 bucket encryption. If not provided, a new KMS key will be created. |`string`|`null`| no |
47
+
| environment | The environment for the deployment. This is used in the prefix to all resource names. |`string`|`"development"`| no |
48
+
| force_delete | Whether to force delete the bucket and its contents. Must be set to `true`_and_ applied before the bucket can be deleted. |`bool`|`false`| no |
49
+
| key_recovery_period | Number of days to recover the created KMS key after deletion. Must be between `7` and `30`. |`number`|`30`| no |
50
+
| noncurrent_version_expiration_days | Number of days to expire noncurrent versions of objects. |`number`|`30`| no |
51
+
|[storage_class_transitions]| List of storage class transitions to apply to the buckets lifecycle configuration. |`list(object)`|`[{days = 30, storage_class = "STANDARD_IA"}]`| no |
52
+
| tags | Optional tags to be applied to all resources. |`map(string)`|`{}`| no |
53
+
54
+
### storage_class_transitions
55
+
56
+
You can define multiple [storage class][storage-class] transitions for the
57
+
objects in the S3 bucket. This allows you to use a reduced cost storage option
58
+
for objects that need to be retained for a longer time, but won't be regularly
59
+
accessed.
60
+
61
+
By default, objects added to the bucket will transition to the infrequent access
62
+
storage tier after 30 days. To disable transitions entirely, you can set this
63
+
input to an empty list (`[]`).
64
+
65
+
| Name | Description | Type | Default | Required |
0 commit comments