./priv/layers/admin-api.json in stacco-0.1.29 vs ./priv/layers/admin-api.json in stacco-0.1.30
- old
+ new
@@ -80,11 +80,11 @@
"ResourceRecords": [{"Fn::GetAtt": ["AdminAPILoadBalancer", "DNSName"]}]
}},
"AdminAPIScalingGroup": {
"Type": "AWS::AutoScaling::AutoScalingGroup",
- "DependsOn": "BastionBoxReady",
+ "DependsOn": "PrivateRoute",
"UpdatePolicy": {
"AutoScalingRollingUpdate": {
"MinInstancesInService": "1",
"MaxBatchSize": "1",
@@ -123,19 +123,22 @@
"Timeout": "1600"
}},
"BackendLaunchConfiguration" : {
"Type" : "AWS::AutoScaling::LaunchConfiguration",
+ "DependsOn": "GatewayToInternet",
"Metadata": {
"AWS::CloudFormation::Init": {}
},
"Properties" : {
"InstanceType": "m3.medium",
"ImageId": {"Ref": "InstanceAMIVar"},
"KeyName": {"Ref": "IAMKeypairNameVar"},
"SecurityGroups": [{"Ref": "BackendSecurityGroup"}],
+
+ "AssociatePublicIpAddress": "true",
"BlockDeviceMappings": [
{"DeviceName": "/dev/xvdc", "Ebs": {
"SnapshotId": {"Ref": "DockerLibrarySnapshotVar"},
"VolumeSize": "50"