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
| acceleration\_status | Sets the accelerate configuration of an existing bucket. Can be Enabled or Suspended |`string`|`null`| no |
195
+
| acceleration\_status | Sets the accelerate configuration of an existing bucket. Can be Enabled or Suspended |`bool`|`false`| no |
196
196
| acl | Canned ACL to apply to the S3 bucket. |`string`|`null`| no |
197
+
| acl\_grants | A list of policy grants for the bucket. Conflicts with `acl`. Set `acl` to `null` to use this. | <pre>list(object({<br> id = string<br> type = string<br> permission = string<br> uri = string<br> }))</pre> |`null`| no |
197
198
| attributes | Additional attributes (e.g. `1`). |`list(any)`|`[]`| no |
198
199
| aws\_iam\_policy\_document | Specifies the number of days after object creation when the object expires. |`string`|`""`| no |
| error\_document | he name of the error document for the website |`string`|`"error.html"`| no |
205
210
| force\_destroy | 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 |
206
211
| grants | ACL Policy grant.conflict with acl.set acl null to use this | <pre>list(object({<br> id = string<br> type = string<br> permissions = list(string)<br> uri = string<br> }))</pre> |`null`| no |
212
+
| index\_document | The name of the index document for the website |`string`|`"index.html"`| no |
207
213
| kms\_master\_key\_id | The AWS KMS master key ID 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 |
208
214
| label\_order | Label order, e.g. `name`,`application`. |`list(any)`|`[]`| no |
| lifecycle\_days\_to\_deep\_archive\_transition | Specifies the number of days after object creation when it will be moved to DEEP ARCHIVE . |`number`|`180`| no |
210
217
| lifecycle\_days\_to\_expiration | Specifies the number of days after object creation when the object expires. |`number`|`365`| no |
211
218
| lifecycle\_days\_to\_glacier\_transition | Specifies the number of days after object creation when it will be moved to Glacier storage. |`number`|`180`| no |
@@ -218,17 +225,22 @@ data "aws_iam_policy_document" "default" {
| lifecycle\_infrequent\_storage\_object\_prefix | Object key prefix identifying one or more objects to which the lifecycle rule applies. |`string`|`""`| no |
| logging | Logging Object Configuration details |`map(string)`|`{}`| no |
228
+
| logging | Logging Object to enable and disable logging |`bool`|`false`| no |
222
229
| managedby | ManagedBy, eg 'CloudDrove'. |`string`|`"hello@clouddrove.com"`| no |
223
230
| mfa\_delete | Enable MFA delete for either Change the versioning state of your bucket or Permanently delete an object version. |`bool`|`false`| no |
224
231
| name | Name (e.g. `app` or `cluster`). |`string`|`""`| no |
225
-
| object\_lock\_configuration | With S3 Object Lock, you can store objects using a write-once-read-many (WORM) model. Object Lock can help prevent objects from being deleted or overwritten for a fixed amount of time or indefinitely. | <pre>object({<br> mode = string<br> days = number<br> years = number<br> })</pre> |`null`| no |
232
+
| object\_lock\_configuration | With S3 Object Lock, you can store objects using a write-once-read-many (WORM) model. Object Lock can help prevent objects from being deleted or overwritten for a fixed amount of time or indefinitely. | <pre>object({<br> mode = string #Valid values are GOVERNANCE and COMPLIANCE.<br> days = number<br> years = number<br> })</pre> |`null`| no |
233
+
| owner\_id | The canonical user ID associated with the AWS account. |`string`|`""`| no |
234
+
| redirect | The redirect behavior for every request to this bucket's website endpoint |`string`|`"documents/"`| no |
226
235
| repository | Terraform current module repo |`string`|`"https://github.com/clouddrove/terraform-aws-s3"`| no |
227
-
| request\_payer | 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 |`string`|`null`| no |
236
+
| request\_payer | 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 |`bool`|`false`| no |
237
+
| routing\_rule | ist of rules that define when a redirect is applied and the redirect behavior |`string`|`"docs/"`| no |
228
238
| sse\_algorithm | The server-side encryption algorithm to use. Valid values are AES256 and aws:kms. |`string`|`"AES256"`| no |
229
239
| tags | Additional tags (e.g. map(`BusinessUnit`,`XYZ`). |`map(any)`|`{}`| no |
240
+
| target\_bucket | The bucket where you want Amazon S3 to store server access logs. |`string`|`""`| no |
241
+
| target\_prefix | A prefix for all log object keys. |`string`|`""`| no |
230
242
| versioning | Enable Versioning of S3. |`bool`|`true`| no |
231
-
| website |Static website configuration |`map(string)`|`{}`| no |
243
+
| website\_config\_enable|enable or disable aws\_s3\_bucket\_website\_configuration |`bool`|`false`| no |
0 commit comments