Skip to content
This repository was archived by the owner on Nov 9, 2022. It is now read-only.

Commit c819d35

Browse files
authored
fix: Fixed cors_rules variable type (terraform-aws-modules#49)
1 parent a30a69b commit c819d35

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ module "s3_bucket" {
106106
| block\_public\_policy | Whether Amazon S3 should block public bucket policies for this bucket. | `bool` | `false` | no |
107107
| bucket | (Optional, Forces new resource) The name of the bucket. If omitted, Terraform will assign a random, unique name. | `string` | `null` | no |
108108
| bucket\_prefix | (Optional, Forces new resource) Creates a unique bucket name beginning with the specified prefix. Conflicts with bucket. | `string` | `null` | no |
109-
| cors\_rule | List of maps containing rules for Cross-Origin Resource Sharing. | `list(any)` | `[]` | no |
109+
| cors\_rule | List of maps containing rules for Cross-Origin Resource Sharing. | `any` | `[]` | no |
110110
| create\_bucket | Controls if S3 bucket should be created | `bool` | `true` | no |
111111
| 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 |
112112
| grant | An ACL policy grant. Conflicts with `acl` | `any` | `[]` | no |

variables.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ variable "website" {
7878

7979
variable "cors_rule" {
8080
description = "List of maps containing rules for Cross-Origin Resource Sharing."
81-
type = list(any)
81+
type = any
8282
default = []
8383
}
8484

0 commit comments

Comments
 (0)