Skip to content

Commit

Permalink
wip: modules/aws/vpc/sg-etcd: Allow ingress 0-65535 from self and master
Browse files Browse the repository at this point in the history
Set these wide open to see if that fixes tests.
  • Loading branch information
wking committed Aug 22, 2018
1 parent aec544b commit 28555d1
Showing 1 changed file with 4 additions and 15 deletions.
19 changes: 4 additions & 15 deletions modules/aws/vpc/sg-etcd.tf
Original file line number Diff line number Diff line change
Expand Up @@ -24,26 +24,15 @@ resource "aws_security_group" "etcd" {

ingress {
protocol = "tcp"
from_port = 22
to_port = 22
from_port = 0
to_port = 65535
self = true

security_groups = ["${aws_security_group.master.id}"]
}

ingress {
protocol = "tcp"
from_port = 2379
to_port = 2379
self = true

from_port = 0
to_port = 65535
security_groups = ["${aws_security_group.master.id}"]
}

ingress {
protocol = "tcp"
from_port = 2380
to_port = 2380
self = true
}
}

0 comments on commit 28555d1

Please sign in to comment.