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

No Answers

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