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

답변 없음

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠