Skip to content

Commit

Permalink
Fix Artifact Registry Repository URI test (#12668) (#20804)
Browse files Browse the repository at this point in the history
[upstream:44c6e75aa823b949790b64dd06ec200c50465662]

Signed-off-by: Modular Magician <[email protected]>
  • Loading branch information
modular-magician authored Dec 31, 2024
1 parent 6216f56 commit f2f60b6
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .changelog/12668.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:none

```
Original file line number Diff line number Diff line change
Expand Up @@ -906,9 +906,10 @@ 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//tf-test-example-upstream-repo%{random_suffix}"
uri = "https://us-central1-docker.pkg.dev/${data.google_project.project.project_id}/tf-test-example-upstream-repo%{random_suffix}"
}
}
depends_on = [google_artifact_registry_repository.upstream_repo]
}
`, context)
}
Expand Down
3 changes: 2 additions & 1 deletion website/docs/r/artifact_registry_repository.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -585,9 +585,10 @@ 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"
uri = "https://us-central1-docker.pkg.dev/${data.google_project.project.project_id}/example-upstream-repo"
}
}
depends_on = [google_artifact_registry_repository.upstream_repo]
}
```
<div class = "oics-button" style="float: right; margin: 0 0 -15px">
Expand Down

0 comments on commit f2f60b6

Please sign in to comment.