We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents b4a1984 + ab4eb1b commit 49b281fCopy full SHA for 49b281f
vpc-endpoints.tf
@@ -36,7 +36,7 @@ resource "aws_security_group" "vpc_endpoints" {
36
from_port = 0
37
to_port = 0
38
protocol = "-1"
39
- cidr_blocks = concat([var.vpc_cidr], try(each.value.allowed_cidrs, []))
+ cidr_blocks = try(concat([var.vpc_cidr], each.value.allowed_cidrs), [var.vpc_cidr])
40
}
41
42
tags = {
0 commit comments