This commit is contained in:
2025-12-04 10:04:32 +01:00
parent 3718cd8748
commit 135adf5a5c

View File

@@ -14,7 +14,7 @@ resource "google_service_account_key" "mykey" {
public_key_type = "TYPE_X509_PEM_FILE" public_key_type = "TYPE_X509_PEM_FILE"
} }
resource "google_project_iam_binding" "project" { resource "google_project_iam_binding" "custom_service_account" {
project = var.project_id project = var.project_id
role = "roles/view" role = "roles/view"
@@ -28,5 +28,6 @@ data "google_client_openid_userinfo" "me" {
resource "google_os_login_ssh_public_key" "cache" { resource "google_os_login_ssh_public_key" "cache" {
user = data.google_client_openid_userinfo.me.email user = data.google_client_openid_userinfo.me.email
key = file("~/.ssh/id_ed25519.pub") project = var.project_id
key = file("~/.ssh/id_ed25519")
} }