sparse-intern-71089
05/30/2019, 6:04 PMwhite-balloon-205
full-dress-10026
05/30/2019, 7:13 PMfull-dress-10026
05/30/2019, 7:17 PMerror: Plan apply failed: 1 error occurred:
* creating urn:pulumi:fib-dev-ecs::fib::awsx:x:ecs:Cluster$awsx:x:autoscaling:AutoScalingGroup$aws:cloudformation/stack:Stack::app-asg: ROLLBACK_COMPLETE: ["The following resource(s) failed to create: [Instances]. . Rollback requested by user." "Property AvailabilityZones cannot be empty."]
full-dress-10026
05/30/2019, 7:17 PMvpc
as shown in the code. All the docs say that it should use the default vpc when one is not passed in.full-dress-10026
05/30/2019, 7:23 PMvpc
and still get the same result .full-dress-10026
05/30/2019, 7:25 PMAvailabilityZones
is required. The CF template in the AWS console does not include the AvailabilityZones
property.full-dress-10026
05/30/2019, 7:25 PMAWSTemplateFormatVersion: '2010-09-09'
Outputs:
Instances:
Value: !Ref Instances
Resources:
Instances:
Type: AWS::AutoScaling::AutoScalingGroup
Properties:
Cooldown: 300
DesiredCapacity: 2
HealthCheckGracePeriod: 120
HealthCheckType: EC2
LaunchConfigurationName: "app-asg-1ff1dbd"
MaxSize: 100
MetricsCollection:
- Granularity: 1Minute
MinSize: 2
VPCZoneIdentifier: []
Tags:
- Key: Name
Value: app-asg
PropagateAtLaunch: true
CreationPolicy:
ResourceSignal:
Count: 2
Timeout: PT15M
UpdatePolicy:
AutoScalingRollingUpdate:
MaxBatchSize: 1
MinInstancesInService: 2
PauseTime: PT15M
SuspendProcesses:
- ScheduledActions
WaitOnResourceSignals: true
white-balloon-205
full-dress-10026
05/30/2019, 9:07 PMwhite-balloon-205
vpc
in place of const vpc = // ... create custom vpc
in the docs example?full-dress-10026
05/30/2019, 9:19 PMawsx.ec2.Vpc.getDefault()