diff --git a/README.md b/README.md index 2d820744..4454b3c1 100644 --- a/README.md +++ b/README.md @@ -106,7 +106,7 @@ module "s3_bucket" { | block\_public\_policy | Whether Amazon S3 should block public bucket policies for this bucket. | `bool` | `false` | no | | bucket | (Optional, Forces new resource) The name of the bucket. If omitted, Terraform will assign a random, unique name. | `string` | `null` | no | | bucket\_prefix | (Optional, Forces new resource) Creates a unique bucket name beginning with the specified prefix. Conflicts with bucket. | `string` | `null` | no | -| cors\_rule | List of maps containing rules for Cross-Origin Resource Sharing. | `list(any)` | `[]` | no | +| cors\_rule | List of maps containing rules for Cross-Origin Resource Sharing. | `any` | `[]` | no | | create\_bucket | Controls if S3 bucket should be created | `bool` | `true` | no | | 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 | | grant | An ACL policy grant. Conflicts with `acl` | `any` | `[]` | no | diff --git a/variables.tf b/variables.tf index 8c3c3b12..9e2b7b1d 100644 --- a/variables.tf +++ b/variables.tf @@ -78,7 +78,7 @@ variable "website" { variable "cors_rule" { description = "List of maps containing rules for Cross-Origin Resource Sharing." - type = list(any) + type = any default = [] }