From b9ecb571a1cdf6ccc6fae807edbf3468af8a301c Mon Sep 17 00:00:00 2001 From: Niek Palm Date: Sun, 21 Jul 2019 11:59:40 +0200 Subject: [PATCH] Update names for docker machine security-rules (#102) --- main.tf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.tf b/main.tf index 202188626..5551d5dbf 100644 --- a/main.tf +++ b/main.tf @@ -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 @@ -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