AWSEBInstanceLaunchWaitCondition: WaitCondition timed out

0

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"
    },
    
    ...
iizukat
asked 5 years ago1758 views
1 Answer
0

Resolved.

The cause was the failure of the health check from ELB to my app, it prevented completing of "AWSEBAutoScalingGroup" creation, getting rid of the problem on the health check led me to the successful execution of the template.

iizukat
answered 5 years ago
  • What caused the health check failure?

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions