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
| <aname="input_access_key_enabled"></a> [access\_key\_enabled](#input\_access\_key\_enabled)| Set to `true` to create an IAM Access Key for the created IAM user |`bool`|`true`| no |
329
-
| <aname="input_acl"></a> [acl](#input\_acl)| The [canned ACL](https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html#canned-acl) to apply.<br>We recommend `private`to avoid exposing sensitive information. Conflicts with `grants`. |`string`|`"private"`| no |
329
+
| <aname="input_acl"></a> [acl](#input\_acl)| The [canned ACL](https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html#canned-acl) to apply.<br>Deprecated by AWS in favor of bucket policies.<br>Automatically disabled if `s3_object_ownership` is set to "BucketOwnerEnforced".<br>Defaults to "private" for backwards compatibility, but we recommend setting `s3_object_ownership` to "BucketOwnerEnforced" instead. |`string`|`"private"`| no |
330
330
| <aname="input_additional_tag_map"></a> [additional\_tag\_map](#input\_additional\_tag\_map)| Additional key-value pairs to add to each map in `tags_as_list_of_maps`. Not added to `tags` or `id`.<br>This is for some rare cases where resources want additional configuration of tags<br>and therefore take a list of maps with tag key, value, and additional configuration. |`map(string)`|`{}`| no |
331
331
| <aname="input_allow_encrypted_uploads_only"></a> [allow\_encrypted\_uploads\_only](#input\_allow\_encrypted\_uploads\_only)| Set to `true` to prevent uploads of unencrypted objects to S3 bucket |`bool`|`false`| no |
332
332
| <aname="input_allow_ssl_requests_only"></a> [allow\_ssl\_requests\_only](#input\_allow\_ssl\_requests\_only)| Set to `true` to require requests to use Secure Socket Layer (HTTPS/SSL). This will explicitly deny access to HTTP requests |`bool`|`false`| no |
333
333
| <aname="input_allowed_bucket_actions"></a> [allowed\_bucket\_actions](#input\_allowed\_bucket\_actions)| List of actions the user is permitted to perform on the S3 bucket |`list(string)`| <pre>[<br> "s3:PutObject",<br> "s3:PutObjectAcl",<br> "s3:GetObject",<br> "s3:DeleteObject",<br> "s3:ListBucket",<br> "s3:ListBucketMultipartUploads",<br> "s3:GetBucketLocation",<br> "s3:AbortMultipartUpload"<br>]</pre> | no |
334
334
| <aname="input_attributes"></a> [attributes](#input\_attributes)| ID element. Additional attributes (e.g. `workers` or `cluster`) to add to `id`,<br>in the order they appear in the list. New attributes are appended to the<br>end of the list. The elements of the list are joined by the `delimiter`<br>and treated as a single ID element. |`list(string)`|`[]`| no |
335
335
| <aname="input_block_public_acls"></a> [block\_public\_acls](#input\_block\_public\_acls)| Set to `false` to disable the blocking of new public access lists on the bucket |`bool`|`true`| no |
336
336
| <aname="input_block_public_policy"></a> [block\_public\_policy](#input\_block\_public\_policy)| Set to `false` to disable the blocking of new public policies on the bucket |`bool`|`true`| no |
337
-
| <aname="input_bucket_key_enabled"></a> [bucket\_key\_enabled](#input\_bucket\_key\_enabled)| Set this to true to use Amazon S3 Bucket Keys for SSE-KMS, which reduce the cost of AWS KMS requests.<br><br>For more information, see: https://docs.aws.amazon.com/AmazonS3/latest/userguide/bucket-key.html|`bool`|`false`| no |
337
+
| <aname="input_bucket_key_enabled"></a> [bucket\_key\_enabled](#input\_bucket\_key\_enabled)| Set this to true to use Amazon S3 Bucket Keys for SSE-KMS, which may reduce the number of AWS KMS requests.<br>For more information, see: https://docs.aws.amazon.com/AmazonS3/latest/userguide/bucket-key.html|`bool`|`false`| no |
338
338
| <aname="input_bucket_name"></a> [bucket\_name](#input\_bucket\_name)| Bucket name. If provided, the bucket will be created with this name instead of generating the name from the context |`string`|`null`| no |
339
339
| <aname="input_context"></a> [context](#input\_context)| Single object for setting entire context at once.<br>See description of individual variables for details.<br>Leave string and numeric variables as `null` to use default value.<br>Individual variable settings (non-null) override settings in context object,<br>except for attributes, tags, and additional\_tag\_map, which are merged. |`any`| <pre>{<br> "additional_tag_map": {},<br> "attributes": [],<br> "delimiter": null,<br> "descriptor_formats": {},<br> "enabled": true,<br> "environment": null,<br> "id_length_limit": null,<br> "label_key_case": null,<br> "label_order": [],<br> "label_value_case": null,<br> "labels_as_tags": [<br> "unset"<br> ],<br> "name": null,<br> "namespace": null,<br> "regex_replace_chars": null,<br> "stage": null,<br> "tags": {},<br> "tenant": null<br>}</pre> | no |
340
340
| <aname="input_cors_configuration"></a> [cors\_configuration](#input\_cors\_configuration)| Specifies the allowed headers, methods, origins and exposed headers when using CORS on this bucket | <pre>list(object({<br> allowed_headers = list(string)<br> allowed_methods = list(string)<br> allowed_origins = list(string)<br> expose_headers = list(string)<br> max_age_seconds = number<br> }))</pre> |`[]`| no |
@@ -343,7 +343,7 @@ Available targets:
343
343
| <aname="input_enabled"></a> [enabled](#input\_enabled)| Set to false to prevent the module from creating any resources |`bool`|`null`| no |
344
344
| <aname="input_environment"></a> [environment](#input\_environment)| ID element. Usually used for region e.g. 'uw2', 'us-west-2', OR role 'prod', 'staging', 'dev', 'UAT' |`string`|`null`| no |
345
345
| <aname="input_force_destroy"></a> [force\_destroy](#input\_force\_destroy)| When `true`, permits a non-empty S3 bucket to be deleted by first deleting all objects in the bucket.<br>THESE OBJECTS ARE NOT RECOVERABLE even if they were versioned and stored in Glacier. |`bool`|`false`| no |
346
-
| <aname="input_grants"></a> [grants](#input\_grants)| A list of policy grants for the bucket, taking a list of permissions.<br>Conflicts with `acl`. Set `acl` to `null` to use this. | <pre>list(object({<br> id = string<br> type = string<br> permissions = list(string)<br> uri = string<br> }))</pre> |`[]`| no |
346
+
| <aname="input_grants"></a> [grants](#input\_grants)| A list of policy grants for the bucket, taking a list of permissions.<br>Conflicts with `acl`. Set `acl` to `null` to use this.<br>Deprecated by AWS in favor of bucket policies.<br>Automatically disabled if `s3_object_ownership` is set to "BucketOwnerEnforced".| <pre>list(object({<br> id = string<br> type = string<br> permissions = list(string)<br> uri = string<br> }))</pre> |`[]`| no |
347
347
| <aname="input_id_length_limit"></a> [id\_length\_limit](#input\_id\_length\_limit)| Limit `id` to this many characters (minimum 6).<br>Set to `0` for unlimited length.<br>Set to `null` for keep the existing setting, which defaults to `0`.<br>Does not affect `id_full`. |`number`|`null`| no |
348
348
| <aname="input_ignore_public_acls"></a> [ignore\_public\_acls](#input\_ignore\_public\_acls)| Set to `false` to disable the ignoring of public access lists on the bucket |`bool`|`true`| no |
349
349
| <aname="input_kms_master_key_arn"></a> [kms\_master\_key\_arn](#input\_kms\_master\_key\_arn)| The AWS KMS master key ARN used for the `SSE-KMS` encryption. This can only be used when you set the value of `sse_algorithm` as `aws:kms`. The default aws/s3 AWS KMS master key is used if this element is absent while the `sse_algorithm` is `aws:kms`|`string`|`""`| no |
@@ -364,9 +364,10 @@ Available targets:
364
364
| <aname="input_regex_replace_chars"></a> [regex\_replace\_chars](#input\_regex\_replace\_chars)| Terraform regular expression (regex) string.<br>Characters matching the regex will be removed from the ID elements.<br>If not set, `"/[^a-zA-Z0-9-]/"` is used to remove all characters other than hyphens, letters and digits. |`string`|`null`| no |
365
365
| <aname="input_replication_rules"></a> [replication\_rules](#input\_replication\_rules)| DEPRECATED (use `s3_replication_rules`): Specifies the replication rules for S3 bucket replication if enabled. You must also set s3\_replication\_enabled to true. |`list(any)`|`null`| no |
366
366
| <aname="input_restrict_public_buckets"></a> [restrict\_public\_buckets](#input\_restrict\_public\_buckets)| Set to `false` to disable the restricting of making the bucket public |`bool`|`true`| no |
367
-
| <aname="input_s3_object_ownership"></a> [s3\_object\_ownership](#input\_s3\_object\_ownership)| Specifies the S3 object ownership control.Valid values are `ObjectWriter`, `BucketOwnerPreferred`, and 'BucketOwnerEnforced'. |`string`|`"ObjectWriter"`| no |
367
+
| <aname="input_s3_object_ownership"></a> [s3\_object\_ownership](#input\_s3\_object\_ownership)| Specifies the S3 object ownership control.<br>Valid values are `ObjectWriter`, `BucketOwnerPreferred`, and 'BucketOwnerEnforced'.<br>Defaults to "ObjectWriter" for backwards compatibility, but we recommend setting "BucketOwnerEnforced" instead. |`string`|`"ObjectWriter"`| no |
368
368
| <aname="input_s3_replica_bucket_arn"></a> [s3\_replica\_bucket\_arn](#input\_s3\_replica\_bucket\_arn)| A single S3 bucket ARN to use for all replication rules.<br>Note: The destination bucket can be specified in the replication rule itself<br>(which allows for multiple destinations), in which case it will take precedence over this variable. |`string`|`""`| no |
369
369
| <aname="input_s3_replication_enabled"></a> [s3\_replication\_enabled](#input\_s3\_replication\_enabled)| Set this to true and specify `s3_replication_rules` to enable replication. `versioning_enabled` must also be `true`. |`bool`|`false`| no |
370
+
| <aname="input_s3_replication_permissions_boundary_arn"></a> [s3\_replication\_permissions\_boundary\_arn](#input\_s3\_replication\_permissions\_boundary\_arn)| Permissions boundary ARN for the created IAM replication role. |`string`|`null`| no |
370
371
| <aname="input_s3_replication_rules"></a> [s3\_replication\_rules](#input\_s3\_replication\_rules)| Specifies the replication rules for S3 bucket replication if enabled. You must also set s3\_replication\_enabled to true. |`list(any)`|`null`| no |
371
372
| <aname="input_s3_replication_source_roles"></a> [s3\_replication\_source\_roles](#input\_s3\_replication\_source\_roles)| Cross-account IAM Role ARNs that will be allowed to perform S3 replication to this bucket (for replication within the same AWS account, it's not necessary to adjust the bucket policy). |`list(string)`|`[]`| no |
372
373
| <aname="input_source_policy_documents"></a> [source\_policy\_documents](#input\_source\_policy\_documents)| List of IAM policy documents that are merged together into the exported document.<br>Statements defined in source\_policy\_documents or source\_json must have unique SIDs.<br>Statement having SIDs that match policy SIDs generated by this module will override them. |`list(string)`|`[]`| no |
@@ -378,6 +379,7 @@ Available targets:
378
379
| <aname="input_tenant"></a> [tenant](#input\_tenant)| ID element \_(Rarely used, not included by default)\_. A customer identifier, indicating who this instance of a resource is for |`string`|`null`| no |
379
380
| <aname="input_transfer_acceleration_enabled"></a> [transfer\_acceleration\_enabled](#input\_transfer\_acceleration\_enabled)| Set this to true to enable S3 Transfer Acceleration for the bucket. |`bool`|`false`| no |
380
381
| <aname="input_user_enabled"></a> [user\_enabled](#input\_user\_enabled)| Set to `true` to create an IAM user with permission to access the bucket |`bool`|`false`| no |
382
+
| <aname="input_user_permissions_boundary_arn"></a> [user\_permissions\_boundary\_arn](#input\_user\_permissions\_boundary\_arn)| Permission boundary ARN for the IAM user created to access the bucket. |`string`|`null`| no |
381
383
| <aname="input_versioning_enabled"></a> [versioning\_enabled](#input\_versioning\_enabled)| A state of versioning. Versioning is a means of keeping multiple variants of an object in the same bucket |`bool`|`true`| no |
| <aname="input_website_redirect_all_requests_to"></a> [website\_redirect\_all\_requests\_to](#input\_website\_redirect\_all\_requests\_to)| If provided, all website requests will be redirected to the specified host name and protocol | <pre>list(object({<br> host_name = string<br> protocol = string<br> }))</pre> |`[]`| no |
0 commit comments