Skip to content

Commit

Permalink
Fix calico_image_registry trimmed output (#316)
Browse files Browse the repository at this point in the history
  • Loading branch information
miguelhar authored Jan 6, 2025
1 parent 3acc685 commit 4d760ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/infra/submodules/storage/outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ output "info" {
ecr = {
container_registry = join("/", concat(slice(split("/", aws_ecr_repository.this["environment"].repository_url), 0, 1), [var.deploy_id]))
iam_policy_arn = aws_iam_policy.ecr.arn
calico_image_registry = local.supports_pull_through_cache ? "${data.aws_caller_identity.this.id}.dkr.ecr.${var.region}.amazonaws.com/${var.deploy_id}/quay" : "quay.io"
calico_image_registry = local.supports_pull_through_cache ? "${data.aws_caller_identity.this.id}.dkr.ecr.${var.region}.amazonaws.com/${aws_ecr_pull_through_cache_rule.quay[0].ecr_repository_prefix}" : "quay.io"
}
}
}

0 comments on commit 4d760ce

Please sign in to comment.