Skip to content

Commit

Permalink
Update names for docker machine security-rules (#102)
Browse files Browse the repository at this point in the history
  • Loading branch information
npalm authored Jul 21, 2019
1 parent 55a047f commit b9ecb57
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ resource "aws_security_group" "docker_machine" {
tags = "${merge(local.tags, map("Name", format("%s", local.name_sg)))}"
}

resource "aws_security_group_rule" "docker" {
resource "aws_security_group_rule" "docker_machine_docker" {
type = "ingress"
from_port = 2376
to_port = 2376
Expand All @@ -61,7 +61,7 @@ resource "aws_security_group_rule" "docker" {
security_group_id = "${aws_security_group.docker_machine.id}"
}

resource "aws_security_group_rule" "ssh" {
resource "aws_security_group_rule" "docker_machine_ssh" {
type = "ingress"
from_port = 22
to_port = 22
Expand Down

0 comments on commit b9ecb57

Please sign in to comment.