0
的inboud /出站规则在我的安全组,我有这些规则:创建由Cloudformation
这是我在cloudformation模板创建:
{
"SecurityGroupIngress": [
{
"IpProtocol": "NFS",
"FromPort": "tcp",
"ToPort": "2049",
"CidrIp": "0.0.0.0/0"
}
],
"SecurityGroupEgress": [
{
"IpProtocol": "All traffic",
"FromPort": "All",
"ToPort": "All",
"CidrIp": "0.0.0.0/0"
}
]
}
但在堆栈创建过程中出现错误:Encountered non numeric value for property FromPort
我需要k现在什么值对应于所有Trafic和端口tcp 任何想法如何正确创建规则与正确的值?