Skip to content

Commit b258327

Browse files
Fix Artifact Registry Repository URI test (#12668) (#879)
[upstream:44c6e75aa823b949790b64dd06ec200c50465662] Signed-off-by: Modular Magician <[email protected]>
1 parent d04a03a commit b258327

File tree

1 file changed

+2
-1
lines changed
  • artifact_registry_repository_remote_common_repository_with_artifact_registry_uri

1 file changed

+2
-1
lines changed

artifact_registry_repository_remote_common_repository_with_artifact_registry_uri/main.tf

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ resource "google_artifact_registry_repository" "my-repo" {
1616
remote_repository_config {
1717
description = "pull-through cache of another Artifact Registry repository by URL"
1818
common_repository {
19-
uri = "https://us-central1-docker.pkg.dev//example-upstream-repo-${local.name_suffix}"
19+
uri = "https://us-central1-docker.pkg.dev/${data.google_project.project.project_id}/example-upstream-repo-${local.name_suffix}"
2020
}
2121
}
22+
depends_on = [google_artifact_registry_repository.upstream_repo]
2223
}

0 commit comments

Comments
 (0)