Monitoring - SG 변경
This commit is contained in:
@@ -5,26 +5,26 @@ resource "aws_security_group" "grafana-allow-security" {
|
||||
|
||||
ingress {
|
||||
description = "Allow SSH traffic"
|
||||
from_port = 22
|
||||
to_port = 22
|
||||
from_port = 2222
|
||||
to_port = 2222
|
||||
protocol = "tcp"
|
||||
cidr_blocks = ["118.223.123.161/32"]
|
||||
cidr_blocks = ["39.115.183.236/32"]
|
||||
}
|
||||
|
||||
ingress {
|
||||
description = "Allow HTTP traffic"
|
||||
from_port = 80
|
||||
to_port = 80
|
||||
protocol = "tcp"
|
||||
cidr_blocks = ["118.223.123.161/32"]
|
||||
}
|
||||
# ingress {
|
||||
# description = "Allow HTTP traffic"
|
||||
# from_port = 80
|
||||
# to_port = 80
|
||||
# protocol = "tcp"
|
||||
# cidr_blocks = ["118.223.123.161/32"]
|
||||
# }
|
||||
|
||||
ingress {
|
||||
description = "Allow TLS traffic"
|
||||
description = "Allow HTTPS traffic"
|
||||
from_port = 443
|
||||
to_port = 443
|
||||
protocol = "tcp"
|
||||
cidr_blocks = ["118.223.123.161/32", "39.115.183.138/32"]
|
||||
cidr_blocks = ["118.223.123.161/32", "39.115.183.138/32", "39.115.183.236/32"]
|
||||
}
|
||||
|
||||
# ingress {
|
||||
|
||||
Reference in New Issue
Block a user