From 1f9b47987034e26011e4c980e7e24a4c0fe705e7 Mon Sep 17 00:00:00 2001 From: Modular Magician Date: Tue, 31 Dec 2024 00:19:28 +0000 Subject: [PATCH] Fix Artifact Registry Repository URI test (#12668) [upstream:44c6e75aa823b949790b64dd06ec200c50465662] Signed-off-by: Modular Magician --- .../main.tf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/artifact_registry_repository_remote_common_repository_with_artifact_registry_uri/main.tf b/artifact_registry_repository_remote_common_repository_with_artifact_registry_uri/main.tf index 8bc82910..cfd3b0f0 100644 --- a/artifact_registry_repository_remote_common_repository_with_artifact_registry_uri/main.tf +++ b/artifact_registry_repository_remote_common_repository_with_artifact_registry_uri/main.tf @@ -16,7 +16,8 @@ resource "google_artifact_registry_repository" "my-repo" { remote_repository_config { description = "pull-through cache of another Artifact Registry repository by URL" common_repository { - uri = "https://us-central1-docker.pkg.dev//example-upstream-repo-${local.name_suffix}" + uri = "https://us-central1-docker.pkg.dev/${data.google_project.project.project_id}/example-upstream-repo-${local.name_suffix}" } } + depends_on = [google_artifact_registry_repository.upstream_repo] }