Skip to content

Commit 0fc33c2

Browse files
Merge pull request #1326 from wking/aws-master-ssh-access
data/aws/bootstrap: Restore global SSH access
2 parents 9024b6b + 6ab9134 commit 0fc33c2

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

data/data/aws/bootstrap/main.tf

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,16 @@ resource "aws_security_group" "bootstrap" {
145145
), var.tags)}"
146146
}
147147

148+
resource "aws_security_group_rule" "ssh" {
149+
type = "ingress"
150+
security_group_id = "${aws_security_group.bootstrap.id}"
151+
152+
protocol = "tcp"
153+
cidr_blocks = ["0.0.0.0/0"]
154+
from_port = 22
155+
to_port = 22
156+
}
157+
148158
resource "aws_security_group_rule" "bootstrap_journald_gateway" {
149159
type = "ingress"
150160
security_group_id = "${aws_security_group.bootstrap.id}"

0 commit comments

Comments
 (0)