Attempting to connect AWS Fargate to ECS returning an "Operation Timed Out" error

0

I have a Node.js, typescript platform with Typeorm and Postgres DB. The dev and prod stacks are managed by Pulumi and we have them hosted on AWS ECS via AWS Fargate connection. The DB is AWS RDS.

I updated our libraries on my local machine and can start the platform on my machine. To mirror the CI/CD process, we have a devDockerFile that I used to run docker locally, which works as expected. But on trying to push from local to dev, I'm encountering an "Operation Timed Out" error on AWS.

The CICD pipeline is managed by Pulumi, integrated into GitHub Actions and the error from the process is as follows:

Changes:

Type                                 Name        Status               Info
pulumi:pulumi:Stack                  *-dev                       
├─ awsx:x:ecs:FargateTaskDefinition  dev-api                          

+- │ └─ aws:ecs:TaskDefinition dev-api replaced [diff: ~containerDefinitions] └─ awsx:x:ecs:FargateService dev-api
└─ aws:ecs:Service dev-api updating failed [diff: ~taskDefinition]

Diagnostics: pulumi:pulumi:Stack (//dev) error: update failed

awsx:x:ecs:FargateService$aws:ecs/service:Service (dev-api) error: 1 error occurred:

  • updating urn:pulumi:dev::swapfx::awsx:x:ecs:FargateService$aws:ecs/service:Service::dev-api: 1 error occurred:

  • error waiting for ECS service (arn:aws:ecs:us-east-1:510179200366:service/dev-cluster-46448ca/dev-api-1fdce38) to become ready: ResourceNotReady: exceeded wait attempts

Resources: +-replaced 1 63 unchanged

Duration: 20m3s

没有答案

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则