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 |
154
156
|[aws_canonical_user_id.this](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/canonical_user_id)| data source |
155
157
|[aws_elb_service_account.this](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/elb_service_account)| data source |
156
158
|[aws_iam_policy_document.combined](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/iam_policy_document)| data source |
157
159
|[aws_iam_policy_document.deny_insecure_transport](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/iam_policy_document)| data source |
158
160
|[aws_iam_policy_document.elb_log_delivery](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/iam_policy_document)| data source |
161
+
|[aws_iam_policy_document.inventory_destination_policy](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/iam_policy_document)| data source |
159
162
|[aws_iam_policy_document.lb_log_delivery](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/iam_policy_document)| data source |
160
163
|[aws_iam_policy_document.require_latest_tls](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/iam_policy_document)| data source |
161
164
@@ -167,6 +170,7 @@ No modules.
167
170
| <aname="input_acl"></a> [acl](#input\_acl)| (Optional) The canned ACL to apply. Conflicts with `grant`|`string`|`null`| no |
168
171
| <aname="input_attach_deny_insecure_transport_policy"></a> [attach\_deny\_insecure\_transport\_policy](#input\_attach\_deny\_insecure\_transport\_policy)| Controls if S3 bucket should have deny non-SSL transport policy attached |`bool`|`false`| no |
169
172
| <aname="input_attach_elb_log_delivery_policy"></a> [attach\_elb\_log\_delivery\_policy](#input\_attach\_elb\_log\_delivery\_policy)| Controls if S3 bucket should have ELB log delivery policy attached |`bool`|`false`| no |
173
+
| <aname="input_attach_inventory_destination_policy"></a> [attach\_inventory\_destination\_policy](#input\_attach\_inventory\_destination\_policy)| Controls if S3 bucket should have bucket inventory destination policy attached. |`bool`|`false`| no |
170
174
| <aname="input_attach_lb_log_delivery_policy"></a> [attach\_lb\_log\_delivery\_policy](#input\_attach\_lb\_log\_delivery\_policy)| Controls if S3 bucket should have ALB/NLB log delivery policy attached |`bool`|`false`| no |
171
175
| <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 |
172
176
| <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 |
@@ -183,6 +187,10 @@ No modules.
183
187
| <aname="input_grant"></a> [grant](#input\_grant)| An ACL policy grant. Conflicts with `acl`|`any`|`[]`| no |
184
188
| <aname="input_ignore_public_acls"></a> [ignore\_public\_acls](#input\_ignore\_public\_acls)| Whether Amazon S3 should ignore public ACLs for this bucket. |`bool`|`false`| no |
| <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 |
192
+
| <aname="input_inventory_source_account_id"></a> [inventory\_source\_account\_id](#input\_inventory\_source\_account\_id)| The inventory source account id. |`string`|`null`| no |
193
+
| <aname="input_inventory_source_bucket_arn"></a> [inventory\_source\_bucket\_arn](#input\_inventory\_source\_bucket\_arn)| The inventory source bucket ARN. |`string`|`null`| no |
186
194
| <aname="input_lifecycle_rule"></a> [lifecycle\_rule](#input\_lifecycle\_rule)| List of maps containing configuration of object lifecycle management. |`any`|`[]`| no |
Configuration in this directory creates an S3 bucket with several inventory configurations including a different source and destination for inventory reports generated.
4
+
5
+
Please check [complete example](https://github.com/terraform-aws-modules/terraform-aws-s3-bucket/tree/master/examples/complete) to see all other features supported by this module.
6
+
7
+
<!-- BEGINNING OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
|[aws_caller_identity.current](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/caller_identity)| data source |
38
+
39
+
## Inputs
40
+
41
+
No inputs.
42
+
43
+
## Outputs
44
+
45
+
| Name | Description |
46
+
|------|-------------|
47
+
| <aname="output_s3_bucket_arn"></a> [s3\_bucket\_arn](#output\_s3\_bucket\_arn)| The ARN of the bucket. Will be of format arn:aws:s3:::bucketname. |
48
+
| <aname="output_s3_bucket_bucket_domain_name"></a> [s3\_bucket\_bucket\_domain\_name](#output\_s3\_bucket\_bucket\_domain\_name)| The bucket domain name. Will be of format bucketname.s3.amazonaws.com. |
49
+
| <aname="output_s3_bucket_bucket_regional_domain_name"></a> [s3\_bucket\_bucket\_regional\_domain\_name](#output\_s3\_bucket\_bucket\_regional\_domain\_name)| The bucket region-specific domain name. The bucket domain name including the region name, please refer here for format. Note: The AWS CloudFront allows specifying S3 region-specific endpoint when creating S3 origin, it will prevent redirect issues from CloudFront to S3 Origin URL. |
50
+
| <aname="output_s3_bucket_hosted_zone_id"></a> [s3\_bucket\_hosted\_zone\_id](#output\_s3\_bucket\_hosted\_zone\_id)| The Route 53 Hosted Zone ID for this bucket's region. |
51
+
| <aname="output_s3_bucket_id"></a> [s3\_bucket\_id](#output\_s3\_bucket\_id)| The name of the bucket. |
52
+
| <aname="output_s3_bucket_region"></a> [s3\_bucket\_region](#output\_s3\_bucket\_region)| The AWS region this bucket resides in. |
53
+
| <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. |
54
+
| <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. |
description="The bucket region-specific domain name. The bucket domain name including the region name, please refer here for format. Note: The AWS CloudFront allows specifying S3 region-specific endpoint when creating S3 origin, it will prevent redirect issues from CloudFront to S3 Origin URL."
description="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. "
0 commit comments