add jenkins ip for port 22

This commit is contained in:
Nana Janashia
2020-12-19 11:10:35 +01:00
parent c8b8509967
commit 7562eb4836
2 changed files with 4 additions and 1 deletions

View File

@@ -44,7 +44,7 @@ resource "aws_default_security_group" "default-sg" {
from_port = 22
to_port = 22
protocol = "tcp"
cidr_blocks = [var.my_ip]
cidr_blocks = [var.my_ip, var.jenkins_ip]
}
ingress {