This commit is contained in:
2025-12-04 09:38:29 +01:00
parent 12f218a49b
commit 88ccf17aae

View File

@@ -10,7 +10,7 @@ resource "google_service_account" "service_account" {
}
resource "google_service_account_key" "mykey" {
service_account_id = google_service_account.myaccount.name
service_account_id = google_service_account.service_account.name
public_key_type = "TYPE_X509_PEM_FILE"
}
@@ -19,7 +19,7 @@ resource "google_project_iam_binding" "project" {
role = "roles/view"
members = [
"serviceAccount:${google_service_account.custom_service_account.email}"
"serviceAccount:${google_service_account.service_account.email}"
]
}