Skip to content

Commit 090daf1

Browse files
authored
Merge pull request #1 from daimon243/improve/allowed_cidr/parameter
fixed error: if variable are the output from other module
2 parents 6197b1d + 6600ed9 commit 090daf1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

security_groups.tf

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,6 @@ resource "aws_security_group_rule" "redis_networks_ingress" {
2323
from_port = "${var.redis_port}"
2424
to_port = "${var.redis_port}"
2525
protocol = "tcp"
26-
cidr_blocks = "${var.allowed_cidr}"
26+
cidr_blocks = ["${var.allowed_cidr}"]
2727
security_group_id = "${aws_security_group.redis_security_group.id}"
2828
}

0 commit comments

Comments
 (0)