amazon-ecs-deploy-task-definition icon indicating copy to clipboard operation
amazon-ecs-deploy-task-definition copied to clipboard

ARN is MISSING

Open sneakykiwi opened this issue 2 years ago • 4 comments

Hello,

I am trying to setup CI/CD for an ECS cluster and I am getting the following error when trying to deploy the ecs task definition.

To my eyes it makes no sense as thisi arn literally exists and I can see it. Anyone have any thoughts?

Error: arn:aws:ecs:eu-central-1:***:service/cyphrspace is MISSING

sneakykiwi avatar Aug 16 '22 13:08 sneakykiwi

I'm also getting the exact same error

kushal-ti avatar Aug 20 '22 12:08 kushal-ti

Any updates here?

yamaoto avatar Jan 12 '23 16:01 yamaoto

In my case it turned out to be a really dumb mistake on my part. the ECS cluster name environment variable that you're supposed to be specifying should just be the name of the cluster, and not the entire ARN. the action constructs the ARN for you based on environment variables provided by you such as AWS_REGION and cluster/service name

kushal-ti avatar Jan 12 '23 16:01 kushal-ti

Got it. For my case it just I thought that my service will be created automatically from task-definition, but when I created my service in the aws console everything worked

yamaoto avatar Jan 12 '23 17:01 yamaoto

Thank you, this issue seems to have been addressed. Closing it out, please feel free to open a new issue if this persists. Thanks!

amazreech avatar May 14 '24 14:05 amazreech