Error while using Bitbucket Pipeline to deploy on AWS ECS (Fargate)

Tomas April 5, 2022

Hi, i'm trying to deploy an ECS container through bitbucket pipelines. I'm following this example:

https://bitbucket.org/bitbucketpipelines/example-aws-ecs-deploy/src/master/ 

But the pipeline console throw me this error:

bberror.jpg

I thought it was a AWS IAM permission policy, but I already added this permissions to my AIM user:

aws.jpg

But the error persists.

 

This is my pipeline:

pipeline.jpg

My task-definition-template.json:

task.jpg

 

Regards

1 comment

o_kyrdan April 15, 2022

Hi @Tomas

Good question.
Make sure you setup AWS IAM role according to the official docs Amazon ECS task execution IAM role.

 

Best regards,
Oleksandr Kyrdan

Comment

Log in or Sign up to comment
TAGS
AUG Leaders

Atlassian Community Events