ECR Replica does not trigger ECR Source Stage Event to start Codepipeline execution

0

I have created a Codepipeline with ECR as a piece of my source stage. I also have codebuild which pushes to ECR and tags the latest image with "latest-main" whenever a build completes. Then my pipeline ECR source stage picks up on this event and triggers my pipeline to begin using the event rule as follows:

{
  "source": ["aws.ecr"],
  "detail": {
    "action-type": ["PUSH"],
    "image-tag": ["latest-main"],
    "repository-name": ["authentication"],
    "result": ["SUCCESS"]
  },
  "detail-type": ["ECR Image Action"]
}

This works great for the pipeline in the same region as my ECR repo, however I also have pipelines which look at replicas of the ECR repos (whenever a push occurs to my ECR repo I have a replication policy to replicate from us-east-1 --> eu-central-1). When codebuild pushes to ECR (us-east-1), the replication works and replicates my image to eu-central-1 ECR repository, however, my event rule does not trigger for the replicated region and thus my pipeline does not start.

답변 없음

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠