Skip to content

Can't deploy typescript/ecs/fargate-service-with-local-image #203

@vsnig

Description

@vsnig

Getting this error:

37/40 | 1:10:09 AM | CREATE_FAILED        | Custom::ECRAdoptedRepository              | FargateService/TaskDef/web/AssetImage/AdoptRepository/Resource/Default (FargateServiceTaskDefwebAssetImageAdoptRepositoryCDAFD419) Failed to create resource. User: arn:aws:sts::210094884298:assumed-role/FargateServiceWithLocalIm-AdoptEcrRepositorydbc60d-ZTFD9HZ115F/FargateServiceWithLocalIm-AdoptEcrRepositorydbc60d-1SPNLFDPASJYV is not authorized to perform: ecr:GetRepositoryPolicy on resource: arn:aws:ecr:us-east-1:210094884298:repository/cdk/fargateservicewithlocalimagefargateservicetaskdefwebassetimagea1598224

cdk error

CDK Version: 1.18.0 (build bc924bc)

Metadata

Metadata

Assignees

Labels

@aws-cdk/aws-ecsRelated to Amazon Elastic ContainerguidanceQuestion that needs advice or information.

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions