educative.io

Failed to receive 1 resource signal(s) within the specified duration

I keep geet this Error: Failed to receive 1 resource signal(s) within the specified duration which causes a rollback every time.
Here is the the cloud formation script : https://github.com/OrinaOisera/cloud_formation_practice

There could be 2 reasons for the problem:


First, create the stack by changing ResourceSignal:Count

...
  "Resources": {
    ...
    "AutoScalingGroup": {
    ...
      "CreationPolicy": {
        "ResourceSignal": {
          "Count": "0"
        }
      }

    }
    ...

If this didn’t resolve the issue, then The Cfn-Signal might not be routing back to the cloud-formation Endpoint.
Please try to check the instance access to the internet or nat gateway.
If the instance are in the private subnet, make sure the endpoints are properly configured


You can find more help here.