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
|[aws_caller_identity.current](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/caller_identity)| data source |
169
172
|[aws_canonical_user_id.this](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/canonical_user_id)| data source |
170
173
|[aws_iam_policy_document.access_log_delivery](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/iam_policy_document)| data source |
@@ -207,13 +210,15 @@ No modules.
207
210
| <aname="input_attach_policy"></a> [attach\_policy](#input\_attach\_policy)| Controls if S3 bucket should have bucket policy attached (set to `true` to use value of `policy` as bucket policy) |`bool`|`false`| no |
208
211
| <aname="input_attach_public_policy"></a> [attach\_public\_policy](#input\_attach\_public\_policy)| Controls if a user defined public bucket policy will be attached (set to `false` to allow upstream to apply defaults to the bucket) |`bool`|`true`| no |
209
212
| <aname="input_attach_require_latest_tls_policy"></a> [attach\_require\_latest\_tls\_policy](#input\_attach\_require\_latest\_tls\_policy)| Controls if S3 bucket should require the latest version of TLS |`bool`|`false`| no |
213
+
| <aname="input_availability_zone_id"></a> [availability\_zone\_id](#input\_availability\_zone\_id)| Availability Zone ID or Local Zone ID |`string`|`null`| no |
210
214
| <aname="input_block_public_acls"></a> [block\_public\_acls](#input\_block\_public\_acls)| Whether Amazon S3 should block public ACLs for this bucket. |`bool`|`true`| no |
211
215
| <aname="input_block_public_policy"></a> [block\_public\_policy](#input\_block\_public\_policy)| Whether Amazon S3 should block public bucket policies for this bucket. |`bool`|`true`| no |
212
216
| <aname="input_bucket"></a> [bucket](#input\_bucket)| (Optional, Forces new resource) The name of the bucket. If omitted, Terraform will assign a random, unique name. |`string`|`null`| no |
213
217
| <aname="input_bucket_prefix"></a> [bucket\_prefix](#input\_bucket\_prefix)| (Optional, Forces new resource) Creates a unique bucket name beginning with the specified prefix. Conflicts with bucket. |`string`|`null`| no |
214
218
| <aname="input_control_object_ownership"></a> [control\_object\_ownership](#input\_control\_object\_ownership)| Whether to manage S3 Bucket Ownership Controls on this bucket. |`bool`|`false`| no |
215
219
| <aname="input_cors_rule"></a> [cors\_rule](#input\_cors\_rule)| List of maps containing rules for Cross-Origin Resource Sharing. |`any`|`[]`| no |
216
220
| <aname="input_create_bucket"></a> [create\_bucket](#input\_create\_bucket)| Controls if S3 bucket should be created |`bool`|`true`| no |
221
+
| <aname="input_data_redundancy"></a> [data\_redundancy](#input\_data\_redundancy)| Data redundancy. Valid values: `SingleAvailabilityZone`|`string`|`null`| no |
217
222
| <aname="input_expected_bucket_owner"></a> [expected\_bucket\_owner](#input\_expected\_bucket\_owner)| The account ID of the expected bucket owner |`string`|`null`| no |
218
223
| <aname="input_force_destroy"></a> [force\_destroy](#input\_force\_destroy)| (Optional, Default:false ) A boolean that indicates all objects should be deleted from the bucket so that the bucket can be destroyed without error. These objects are not recoverable. |`bool`|`false`| no |
219
224
| <aname="input_grant"></a> [grant](#input\_grant)| An ACL policy grant. Conflicts with `acl`|`any`|`[]`| no |
@@ -223,7 +228,9 @@ No modules.
223
228
| <aname="input_inventory_self_source_destination"></a> [inventory\_self\_source\_destination](#input\_inventory\_self\_source\_destination)| Whether or not the inventory source bucket is also the destination bucket. |`bool`|`false`| no |
224
229
| <aname="input_inventory_source_account_id"></a> [inventory\_source\_account\_id](#input\_inventory\_source\_account\_id)| The inventory source account id. |`string`|`null`| no |
225
230
| <aname="input_inventory_source_bucket_arn"></a> [inventory\_source\_bucket\_arn](#input\_inventory\_source\_bucket\_arn)| The inventory source bucket ARN. |`string`|`null`| no |
231
+
| <aname="input_is_directory_bucket"></a> [is\_directory\_bucket](#input\_is\_directory\_bucket)| If the s3 bucket created is a directory bucket |`bool`|`false`| no |
226
232
| <aname="input_lifecycle_rule"></a> [lifecycle\_rule](#input\_lifecycle\_rule)| List of maps containing configuration of object lifecycle management. |`any`|`[]`| no |
233
+
| <aname="input_location_type"></a> [location\_type](#input\_location\_type)| Location type. Valid values: `AvailabilityZone` or `LocalZone`|`string`|`null`| no |
| <aname="input_tags"></a> [tags](#input\_tags)| (Optional) A mapping of tags to assign to the bucket. |`map(string)`|`{}`| no |
240
247
| <aname="input_transition_default_minimum_object_size"></a> [transition\_default\_minimum\_object\_size](#input\_transition\_default\_minimum\_object\_size)| The default minimum object size behavior applied to the lifecycle configuration. Valid values: all\_storage\_classes\_128K (default), varies\_by\_storage\_class |`string`|`null`| no |
248
+
| <aname="input_type"></a> [type](#input\_type)| Bucket type. Valid values: `Directory`|`string`|`"Directory"`| no |
241
249
| <aname="input_versioning"></a> [versioning](#input\_versioning)| Map containing versioning configuration. |`map(string)`|`{}`| no |
242
250
| <aname="input_website"></a> [website](#input\_website)| Map containing static web-site hosting or redirect configuration. |`any`|`{}`| no |
243
251
@@ -255,6 +263,8 @@ No modules.
255
263
| <aname="output_s3_bucket_region"></a> [s3\_bucket\_region](#output\_s3\_bucket\_region)| The AWS region this bucket resides in. |
256
264
| <aname="output_s3_bucket_website_domain"></a> [s3\_bucket\_website\_domain](#output\_s3\_bucket\_website\_domain)| The domain of the website endpoint, if the bucket is configured with a website. If not, this will be an empty string. This is used to create Route 53 alias records. |
257
265
| <aname="output_s3_bucket_website_endpoint"></a> [s3\_bucket\_website\_endpoint](#output\_s3\_bucket\_website\_endpoint)| The website endpoint, if the bucket is configured with a website. If not, this will be an empty string. |
266
+
| <aname="output_s3_directory_bucket_arn"></a> [s3\_directory\_bucket\_arn](#output\_s3\_directory\_bucket\_arn)| ARN of the directory bucket. |
267
+
| <aname="output_s3_directory_bucket_name"></a> [s3\_directory\_bucket\_name](#output\_s3\_directory\_bucket\_name)| Name of the directory bucket. |
|[aws_availability_zones.available](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/availability_zones)| data source |
47
+
|[aws_caller_identity.current](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/caller_identity)| data source |
48
+
|[aws_iam_policy_document.bucket_policy](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/iam_policy_document)| data source |
49
+
50
+
## Inputs
51
+
52
+
No inputs.
53
+
54
+
## Outputs
55
+
56
+
| Name | Description |
57
+
|------|-------------|
58
+
| <aname="output_directory_bucket_arn"></a> [directory\_bucket\_arn](#output\_directory\_bucket\_arn)| ARN of the directory bucket. |
59
+
| <aname="output_directory_bucket_name"></a> [directory\_bucket\_name](#output\_directory\_bucket\_name)| Name of the directory bucket. |
0 commit comments