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!No matter how you like to participate in developer communities, Pulumi wants to meet you there. If you want to meet other Pulumi users to share use-cases and best practices, contribute code or documentation, see us at an event, or just tell a story about something cool you did with Pulumi, you are part of our community.
Powered by