1
我瞭解AWS安全組上的egress
屬性控制出站流量,但是沒有人知道-1的協議是什麼意思?AWS安全組出站的協議-1是什麼意思?
resource "aws_security_group" "elb" {
name = "example-elb」
ingress {
from_port = 80
to_port = 80
protocol = "tcp」
cidr_blocks = [" 0.0.0.0/ 0」]
}
egress {
from_port = 0
to_port = 0
protocol = "-1"
cidr_blocks = [" 0.0.0.0/ 0"] }
}