'Debugging Pulumi "ResourceNotReady: exceeded wait attempts"
I am trying to deploy a fargate service on AWS ECS with Pulumi as IaC.
Everything works as expected when deploying my Fargate service with:
deploymentController: {
type: "ECS"
},
But changing it to:
deploymentController: {
type: "CODE_DEPLOY"
},
Ends with error message: "ResourceNotReady: exceeded wait attempts"
Is there any way to debug this that would help me to find out what resource Pulumi is waiting for?
Is there some hidden dependencies for Blue/Green deployment on ECS that is not obvious when deploying with Pulumi?
Solution 1:[1]
Are you deploying to an ECS Cluster living within a different stack than your Fargate service stack? If so then that's the reason behin the timeout error. Cause the stack isn't able to ping the service and make sure it's steady ready, since it's in a different stack.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | Shady Smaoui |