Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,457,130
Community Members
 
Community Events
176
Community Groups

ECS Deploy Error

Hello Atlassian community ,

I'm new with the ECS Deploy pipe and have this error in the pipeline that i can't seem to understand . I'd really appreciate your help and thank you in advance.

So i built an image and pushed it into AWS ECR . I now need to deploy the app with ECS using ECS Deploy pipe .

I have created  both a cluster  and service  in aws  as per in the first  picture below  .However, in the pipeline i keep getting the error  that you can find in the second  picture  even though the cluster is clearly existent in the first picture and all parameters  seem correct to me.

Here's  how this section of the yml file looks like by the way:

 - step:

  name: 'Deployment of the app with aws ECS'

deployment: Production

  script:

  - echo "Your deployment of the app with Elastic Container Services script goes here..."

  - pipe: atlassian/aws-ecs-deploy:1.6.2

    variables:

      AWS_ACCESS_KEY_ID: $AWS_ACCESS_KEY_ID

      AWS_SECRET_ACCESS_KEY: $AWS_SECRET_ACCESS_KEY

     AWS_DEFAULT_REGION: $AWS_DEFAULT_REGION

      CLUSTER_NAME: 'weaplan-ecs-cluster'

      SERVICE_NAME: 'DataHandler'

      #TASK_DEFINITION: 'weaplan-ecs-task.json' # Optional

      FORCE_NEW_DEPLOYMENT: 'true' 

Capture.PNGipe.PNG

1 answer

1 accepted

1 vote
Answer accepted

@HassenLondon  hi. Thanks for your question.

First of all please check if you use the correct aws region.
Also you can use in config:
DEBUG: "true"
to have more information in the logs

Regards, Igor.

Hi @Igor Stoyanov ,

It was actually a region problem .

Thank you for your response.

Like Igor Stoyanov likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Site Admin
TAGS

Atlassian Community Events