Hi,
I'm in a trouble on Beanstalk with Cloudformation.
I have a Cloudformation template, which creates AWS::ElasticBeanstalk::ApplicationVersion, ConfigurationTemplate and Environment, it's always completed fine.
Then, executing the template mentioned above seems to try stacking another template automatically, whose name is "awseb-e-...-stack", which ends in failure.
Events of "awseb-e-...-stack" shows "CREATE_FAILED" because "WaitCondition timed out. Received 0 conditions when expecting 1" for "AWSEBInstanceLaunchWaitCondition".
I looked into the template for the stack and come to see "AWSEBInstanceLaunchWaitCondition" was waiting for "AWSEBAutoScalingGroup" however, I have no idea at all to solve the problem.
Can anyone kindly suggest any clue, or share experiences/resolution on similar issues? Any help would be greatly appreciated.
Thank you.
(part of descriptions on the template for "awseb-e-...-stack": )
...
"AWSEBAutoScalingGroup": {
"Properties": {
...
"LaunchConfigurationName": {
"Ref": "AWSEBAutoScalingLaunchConfiguration"
},
"MinSize": "1"
},
"DependsOn": "AWSEBBeanstalkMetadata", // the dependency resource was successfully created
"Type": "AWS::AutoScaling::AutoScalingGroup",
"Metadata": {
...
}
}
...
"AWSEBInstanceLaunchWaitCondition": {
"Properties": {
"Handle": {
"Ref": "AWSEBInstanceLaunchWaitHandle"
},
"Count": "1",
"Timeout": "900"
},
"DependsOn": "AWSEBAutoScalingGroup",
"Type": "AWS::CloudFormation::WaitCondition"
},
...
What caused the health check failure?