damp-secretary-81951
08/15/2020, 12:02 AMpulumi up
aws:cloudformation:Stack (hello-autoscaling-group):
error: 1 error occurred:
* creating urn:pulumi:dev::pulumi-quickstart::awsx:x:ecs:Cluster$awsx:x:autoscaling:AutoScalingGroup$aws:cloudformation/stack:Stack::hello-autoscaling-group: ROLLBACK_COMPLETE: ["The following resource(s) failed to create: [Instances]. . Rollback requested by user." "Property AvailabilityZones cannot be empty."]
Here’s the relevant code:
const name = "hello";
const vpc = awsx.ec2.Vpc.getDefault();
const cluster = new Cluster(`${name}-cluster`, { vpc });
const asg = cluster.createAutoScalingGroup(`${name}-autoscaling-group`, {
templateParameters: { minSize: 2, maxSize: 10 },
launchConfigurationArgs: { instanceType: "t2.micro" },
});
Any idea what’s going on? I’m trying to just use us-east-1
for everything to keep things simple. Thanks!