How to specify all ports in Security group - CloudFormation

后端 未结 3 1579
夕颜
夕颜 2021-02-07 00:21

I have my CloudFormation script like this now:

    \"SecurityGroupIngress\" : [{
      \"IpProtocol\" : \"tcp\",
      \"FromPort\" : \"0\",
      \"ToPort\" : \         


        
3条回答
  •  时光说笑
    2021-02-07 00:57

    If you are looking to allow all protocols and all ports, then you can do the following

    {
      "IpProtocol" : "-1"
      "CidrIp" : "0.0.0.0/0"
    }
    

提交回复
热议问题