Remove port 80 access from the sample
@@ -9,7 +9,7 @@ let sshLocationCIDR = sshLocation + "/0";
let region = aws.config.requireRegion();
let securityGroup = new aws.ec2.SecurityGroup("group", {
- groupDescription: "Enable SSH access and WWW",
+ groupDescription: "Enable SSH access",
securityGroupIngress: [
{
ipProtocol: "tcp",
@@ -17,12 +17,6 @@ let securityGroup = new aws.ec2.SecurityGroup("group", {
toPort: 22,
cidrIp: sshLocationCIDR,
},
- {
- ipProtocol: "tcp",
- fromPort: 80,
- toPort: 80,
- cidrIp: sshLocationCIDR,
- },
]
});
