use the repository format in the image_path output (#1803)

* use the repository format in the image_path output

* use local.format_string instead of var.format
This commit is contained in:
Pierre Formont
2023-10-24 12:24:53 +02:00
committed by GitHub
parent f815382d32
commit 43f78194e9

View File

@@ -22,7 +22,7 @@ output "id" {
output "image_path" {
description = "Repository path for images."
value = join("/", [
"${var.location}-docker.pkg.dev",
"${var.location}-${local.format_string}.pkg.dev",
var.project_id,
var.name
])