ECR was recently added to CodePipeline as a Source Stage/Action (link). The provider allows to use the ECR as Source but the CloudWatch Event configuration is missing, so the pipeline is never triggered.
resource "aws_codepipeline" "this" {
name = "test-pipeline"
role_arn = "${aws_iam_role.codepipeline.arn}"
artifact_store {
location = "${aws_s3_bucket.this.bucket}"
type = "S3"
}
stage {
name = "Source"
action {
name = "Source"
category = "Source"
owner = "AWS"
provider = "ECR"
version = "1"
output_artifacts = ["source"]
configuration {
RepositoryName = "${aws_ecr_repository.this.name}"
ImageTag = "latest"
}
}
}
}
N/A
So sad :-( Any suggested workarounds to this?
With pipelines becoming a standard, this is has become a big issue. This is going to force many to move to the CDK. Is this on the roadmap to be addressed? 20 months and still nothing... given the lack of tags I assume there is no movement on this?
Most helpful comment
So sad :-( Any suggested workarounds to this?