From 5d86ad2b001be07a97345e7363adaa387672bc06 Mon Sep 17 00:00:00 2001 From: Anton Babenko Date: Thu, 8 Oct 2020 10:38:18 +0200 Subject: [PATCH] fix: Fixed grant variable type (fix #45) --- README.md | 2 +- variables.tf | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index dab0c7fd..2d820744 100644 --- a/README.md +++ b/README.md @@ -109,7 +109,7 @@ module "s3_bucket" { | cors\_rule | List of maps containing rules for Cross-Origin Resource Sharing. | `list(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` | `list(any)` | `[]` | no | +| grant | An ACL policy grant. Conflicts with `acl` | `any` | `[]` | no | | ignore\_public\_acls | Whether Amazon S3 should ignore public ACLs for this bucket. | `bool` | `false` | no | | lifecycle\_rule | List of maps containing configuration of object lifecycle management. | `any` | `[]` | no | | logging | Map containing access bucket logging configuration. | `map(string)` | `{}` | no | diff --git a/variables.tf b/variables.tf index f911f0ab..8c3c3b12 100644 --- a/variables.tf +++ b/variables.tf @@ -96,7 +96,7 @@ variable "logging" { variable "grant" { description = "An ACL policy grant. Conflicts with `acl`" - type = list(any) + type = any default = [] }