We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 68f8891 commit 62432d3Copy full SHA for 62432d3
1 file changed
main.tf
@@ -6,6 +6,8 @@ resource "aws_security_group" "elasticsearch" {
6
}
7
8
resource "aws_security_group_rule" "secure_cidrs" {
9
+ count = "${length(var.ingress_allow_cidr_blocks) > 0 ? 1 : 0}"
10
+
11
type = "ingress"
12
from_port = 443
13
to_port = 443
@@ -28,6 +30,8 @@ resource "aws_security_group_rule" "secure_sgs" {
28
30
29
31
32
resource "aws_security_group_rule" "nonsecure_cidrs" {
33
34
35
36
from_port = 80
37
to_port = 80
0 commit comments