Skip to content

Commit de38556

Browse files
Issue-122/Values expect list of strings vs string (#123)
* Issue-122/Values expect list of strings vs string * Update variables.tf * Update variables.tf --------- Co-authored-by: Igor Rodionov <[email protected]>
1 parent 427ac23 commit de38556

File tree

2 files changed

+3
-8
lines changed

2 files changed

+3
-8
lines changed

examples/complete/variables.tf

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,6 @@
11
variable "region" {
2-
type = string
3-
}
4-
5-
variable "allow_ssl_requests_only" {
6-
type = bool
7-
default = true
8-
description = "Set to `true` to require requests to use Secure Socket Layer (HTTPS/SSL). This will explicitly deny access to HTTP requests"
2+
type = string
3+
description = "AWS region"
94
}
105

116
variable "lifecycle_configuration_rules" {

sqs_notifications.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ data "aws_iam_policy_document" "sqs_policy" {
3333
condition {
3434
test = "ArnEquals"
3535
variable = "aws:SourceArn"
36-
values = module.aws_s3_bucket.bucket_arn
36+
values = [join("", module.aws_s3_bucket.bucket_arn)]
3737
}
3838
condition {
3939
test = "StringEquals"

0 commit comments

Comments
 (0)