salmon-account-74572
08/07/2019, 6:46 PMlet bastionType = "t2.small";
let bastion_instance = new aws.ec2.Instance("bastion", {
instanceType = bastionType,
});
This doesn't work (instanceType
requires type Input, but I can't seem to declare my variable as that type).broad-dog-22463
08/07/2019, 6:50 PMlet bastionType = aws.ec2.InstanceTypes.T2_Small
salmon-account-74572
08/07/2019, 6:52 PMaws.ec2.InstanceTypes
but wasn't sure exactly how to use it (for example, I tried declaring the type of "bastionType" as that, but that didn't work). Thank you!broad-dog-22463
08/07/2019, 6:54 PM