diff --git a/modules/infra/submodules/storage/ecr.tf b/modules/infra/submodules/storage/ecr.tf index d790bfa3..c312f014 100644 --- a/modules/infra/submodules/storage/ecr.tf +++ b/modules/infra/submodules/storage/ecr.tf @@ -28,7 +28,7 @@ resource "aws_ecr_repository" "this" { resource "aws_ecr_pull_through_cache_rule" "quay" { count = local.supports_pull_through_cache ? 1 : 0 - ecr_repository_prefix = "${var.deploy_id}/quay" + ecr_repository_prefix = "${substr(var.deploy_id, 0, 24)}/quay" upstream_registry_url = "quay.io" }