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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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
])