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"] }
}