File tree Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change
1
+ output "docker" {
2
+ description = " The artifact registry repository for Docker container images"
3
+ value = google_artifact_registry_repository. docker
4
+ }
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ module "artifactregistry" {
21
21
# Cloud Build
22
22
23
23
locals {
24
- artifact_repo = " ${ var . location } -docker.pkg.dev/${ var . project_id } /${ google_artifact_registry_repository . docker . name } "
24
+ artifact_repo = " ${ var . location } -docker.pkg.dev/${ var . project_id } /${ module . artifactregistry . docker . name } "
25
25
conformance_gcp_docker_image = " ${ local . artifact_repo } /conformance-gcp"
26
26
}
27
27
@@ -101,9 +101,9 @@ resource "google_project_iam_member" "resourcemanager_project_iam_admin" {
101
101
}
102
102
103
103
resource "google_artifact_registry_repository_iam_member" "artifactregistry_writer" {
104
- project = google_artifact_registry_repository . docker . project
105
- location = google_artifact_registry_repository . docker . location
106
- repository = google_artifact_registry_repository . docker . name
104
+ project = module . docker . project
105
+ location = module . artifactregistry . docker . location
106
+ repository = module . artifactregistry . docker . name
107
107
role = " roles/artifactregistry.writer"
108
108
member = " serviceAccount:${ google_service_account . cloudbuild_service_account . email } "
109
109
}
You can’t perform that action at this time.
0 commit comments