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_elb_service_account.this](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/elb_service_account)| data source|
106
+
|[aws_iam_policy_document.elb_log_delivery](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/iam_policy_document)| data source|
107
107
108
108
## Inputs
109
109
110
110
| Name | Description | Type | Default | Required |
| acceleration\_status | (Optional) Sets the accelerate configuration of an existing bucket. Can be Enabled or Suspended. |`string`|`null`| no |
113
-
| acl | (Optional) The canned ACL to apply. Defaults to 'private'. Conflicts with `grant`|`string`|`"private"`| no |
114
-
| attach\_elb\_log\_delivery\_policy | Controls if S3 bucket should have ELB log delivery policy attached |`bool`|`false`| no |
115
-
| 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 |
116
-
| 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 |
117
-
| block\_public\_acls | Whether Amazon S3 should block public ACLs for this bucket. |`bool`|`false`| no |
118
-
| block\_public\_policy | Whether Amazon S3 should block public bucket policies for this bucket. |`bool`|`false`| no |
119
-
| bucket | (Optional, Forces new resource) The name of the bucket. If omitted, Terraform will assign a random, unique name. |`string`|`null`| no |
120
-
| bucket\_prefix | (Optional, Forces new resource) Creates a unique bucket name beginning with the specified prefix. Conflicts with bucket. |`string`|`null`| no |
121
-
| cors\_rule | List of maps containing rules for Cross-Origin Resource Sharing. |`any`|`[]`| no |
122
-
| create\_bucket | Controls if S3 bucket should be created |`bool`|`true`| no |
123
-
| 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 |
124
-
| grant | An ACL policy grant. Conflicts with `acl`|`any`|`[]`| no |
125
-
| ignore\_public\_acls | Whether Amazon S3 should ignore public ACLs for this bucket. |`bool`|`false`| no |
126
-
| lifecycle\_rule | List of maps containing configuration of object lifecycle management. |`any`|`[]`| no |
| policy | (Optional) A valid bucket policy JSON document. Note that if the policy document is not specific enough (but still valid), Terraform may view the policy as constantly changing in a terraform plan. In this case, please make sure you use the verbose/specific version of the policy. For more information about building AWS IAM policy documents with Terraform, see the AWS IAM Policy Document Guide. |`string`|`null`| no |
| request\_payer | (Optional) Specifies who should bear the cost of Amazon S3 data transfer. Can be either BucketOwner or Requester. By default, the owner of the S3 bucket would incur the costs of any data transfer. See Requester Pays Buckets developer guide for more information. |`string`|`null`| no |
132
-
| restrict\_public\_buckets | Whether Amazon S3 should restrict public bucket policies for this bucket. |`bool`|`false`| no |
| tags | (Optional) A mapping of tags to assign to the bucket. |`map(string)`|`{}`| no |
135
-
| versioning | Map containing versioning configuration. |`map(string)`|`{}`| no |
136
-
| website | Map containing static web-site hosting or redirect configuration. |`map(string)`|`{}`| no |
112
+
|<aname="input_acceleration_status"></a> [acceleration\_status](#input\_acceleration\_status)| (Optional) Sets the accelerate configuration of an existing bucket. Can be Enabled or Suspended. |`string`|`null`| no |
113
+
|<aname="input_acl"></a> [acl](#input\_acl)| (Optional) The canned ACL to apply. Defaults to 'private'. Conflicts with `grant`|`string`|`"private"`| no |
114
+
|<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 |
115
+
|<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 |
116
+
|<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 |
117
+
|<aname="input_block_public_acls"></a> [block\_public\_acls](#input\_block\_public\_acls)| Whether Amazon S3 should block public ACLs for this bucket. |`bool`|`false`| no |
118
+
|<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`|`false`| no |
119
+
|<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 |
120
+
|<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 |
121
+
|<aname="input_cors_rule"></a> [cors\_rule](#input\_cors\_rule)| List of maps containing rules for Cross-Origin Resource Sharing. |`any`|`[]`| no |
122
+
|<aname="input_create_bucket"></a> [create\_bucket](#input\_create\_bucket)| Controls if S3 bucket should be created |`bool`|`true`| no |
123
+
|<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 |
124
+
|<aname="input_grant"></a> [grant](#input\_grant)| An ACL policy grant. Conflicts with `acl`|`any`|`[]`| no |
125
+
|<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 |
126
+
|<aname="input_lifecycle_rule"></a> [lifecycle\_rule](#input\_lifecycle\_rule)| List of maps containing configuration of object lifecycle management. |`any`|`[]`| no |
|<aname="input_policy"></a> [policy](#input\_policy)| (Optional) A valid bucket policy JSON document. Note that if the policy document is not specific enough (but still valid), Terraform may view the policy as constantly changing in a terraform plan. In this case, please make sure you use the verbose/specific version of the policy. For more information about building AWS IAM policy documents with Terraform, see the AWS IAM Policy Document Guide. |`string`|`null`| no |
130
+
|<aname="input_replication_configuration"></a> [replication\_configuration](#input\_replication\_configuration)| Map containing cross-region replication configuration. |`any`|`{}`| no |
131
+
|<aname="input_request_payer"></a> [request\_payer](#input\_request\_payer)| (Optional) Specifies who should bear the cost of Amazon S3 data transfer. Can be either BucketOwner or Requester. By default, the owner of the S3 bucket would incur the costs of any data transfer. See Requester Pays Buckets developer guide for more information. |`string`|`null`| no |
132
+
|<aname="input_restrict_public_buckets"></a> [restrict\_public\_buckets](#input\_restrict\_public\_buckets)| Whether Amazon S3 should restrict public bucket policies for this bucket. |`bool`|`false`| no |
133
+
|<aname="input_server_side_encryption_configuration"></a> [server\_side\_encryption\_configuration](#input\_server\_side\_encryption\_configuration)| Map containing server-side encryption configuration. |`any`|`{}`| no |
134
+
|<aname="input_tags"></a> [tags](#input\_tags)| (Optional) A mapping of tags to assign to the bucket. |`map(string)`|`{}`| no |
135
+
|<aname="input_versioning"></a> [versioning](#input\_versioning)| Map containing versioning configuration. |`map(string)`|`{}`| no |
136
+
|<aname="input_website"></a> [website](#input\_website)| Map containing static web-site hosting or redirect configuration. |`map(string)`|`{}`| no |
137
137
138
138
## Outputs
139
139
140
140
| Name | Description |
141
141
|------|-------------|
142
-
| this\_s3\_bucket\_arn | The ARN of the bucket. Will be of format arn:aws:s3:::bucketname. |
143
-
| this\_s3\_bucket\_bucket\_domain\_name | The bucket domain name. Will be of format bucketname.s3.amazonaws.com. |
144
-
| this\_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. |
145
-
| this\_s3\_bucket\_hosted\_zone\_id | The Route 53 Hosted Zone ID for this bucket's region. |
146
-
| this\_s3\_bucket\_id | The name of the bucket. |
147
-
| this\_s3\_bucket\_region | The AWS region this bucket resides in. |
148
-
| this\_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. |
149
-
| this\_s3\_bucket\_website\_endpoint | The website endpoint, if the bucket is configured with a website. If not, this will be an empty string. |
142
+
|<aname="output_this_s3_bucket_arn"></a> [this\_s3\_bucket\_arn](#output\_this\_s3\_bucket\_arn)| The ARN of the bucket. Will be of format arn:aws:s3:::bucketname. |
143
+
|<aname="output_this_s3_bucket_bucket_domain_name"></a> [this\_s3\_bucket\_bucket\_domain\_name](#output\_this\_s3\_bucket\_bucket\_domain\_name)| The bucket domain name. Will be of format bucketname.s3.amazonaws.com. |
144
+
|<aname="output_this_s3_bucket_bucket_regional_domain_name"></a> [this\_s3\_bucket\_bucket\_regional\_domain\_name](#output\_this\_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. |
145
+
|<aname="output_this_s3_bucket_hosted_zone_id"></a> [this\_s3\_bucket\_hosted\_zone\_id](#output\_this\_s3\_bucket\_hosted\_zone\_id)| The Route 53 Hosted Zone ID for this bucket's region. |
146
+
|<aname="output_this_s3_bucket_id"></a> [this\_s3\_bucket\_id](#output\_this\_s3\_bucket\_id)| The name of the bucket. |
147
+
|<aname="output_this_s3_bucket_region"></a> [this\_s3\_bucket\_region](#output\_this\_s3\_bucket\_region)| The AWS region this bucket resides in. |
148
+
|<aname="output_this_s3_bucket_website_domain"></a> [this\_s3\_bucket\_website\_domain](#output\_this\_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. |
149
+
|<aname="output_this_s3_bucket_website_endpoint"></a> [this\_s3\_bucket\_website\_endpoint](#output\_this\_s3\_bucket\_website\_endpoint)| The website endpoint, if the bucket is configured with a website. If not, this will be an empty string. |
0 commit comments