feat: implement the new iam interface in artifact-registry (#2606)

Co-authored-by: Julio Castillo <juliocc@users.noreply.github.com>
This commit is contained in:
Benoît Sauvère
2024-10-04 15:49:48 +02:00
committed by GitHub
parent c2780fa7b0
commit cb234fd35b
7 changed files with 347 additions and 28 deletions

View File

@@ -197,13 +197,3 @@ resource "google_artifact_registry_repository" "registry" {
}
}
resource "google_artifact_registry_repository_iam_binding" "bindings" {
provider = google-beta
for_each = var.iam
project = var.project_id
location = google_artifact_registry_repository.registry.location
repository = google_artifact_registry_repository.registry.name
role = each.key
members = each.value
}