Fix ec2instance CIDR property
This commit is contained in:
parent
86bfe5961d
commit
271eaefb5c
|
@ -4,6 +4,7 @@ import { InternetGateway, Instance, SecurityGroup } from '@mu/aws/ec2';
|
|||
let keyName = "lukehoban-us-east-1";
|
||||
let instanceType = "t2.micro";
|
||||
let sshLocation = "0.0.0.0";
|
||||
let sshLocationCIDR = sshLocation + "/0";
|
||||
let region = "us-east-1";
|
||||
|
||||
let awsRegionArch2AMI: { [name: string]: { [key: string]: string; } }= {
|
||||
|
@ -252,7 +253,7 @@ let securityGroup = new SecurityGroup({
|
|||
ipProtocol: "tcp",
|
||||
fromPort: 22,
|
||||
toPort: 22,
|
||||
cidrIp: sshLocation
|
||||
cidrIp: sshLocationCIDR,
|
||||
}]
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue