./priv/layers/frontends.json in stacco-0.1.57 vs ./priv/layers/frontends.json in stacco-0.1.59
- old
+ new
@@ -51,10 +51,11 @@
}
},
"FrontendLaunchConfiguration" : {
"Type" : "AWS::AutoScaling::LaunchConfiguration",
+ "DependsOn": "InternetConnection",
"Metadata": {
"AWS::CloudFormation::Init": {}
},
@@ -62,9 +63,11 @@
"InstanceType": "m3.medium",
"ImageId": {"Ref": "InstanceAMIVar"},
"KeyName": {"Ref": "IAMKeypairNameVar"},
"SecurityGroups": [{"Ref": "FrontendSecurityGroup"}],
+
+ "AssociatePublicIpAddress": "true",
"UserData": {"Fn::Base64": {"Fn::Join": ["", [
"#!/bin/bash\n",
"export CFN_REGION='", {"Ref": "AWS::Region"}, "'\n",
"export CFN_STACK_NAME='", {"Ref": "AWS::StackName"}, "'\n",