forked from pierront/but3-iac
iam
This commit is contained in:
@@ -14,7 +14,7 @@ resource "google_service_account_key" "mykey" {
|
||||
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
|
||||
role = "roles/view"
|
||||
|
||||
@@ -28,5 +28,6 @@ data "google_client_openid_userinfo" "me" {
|
||||
|
||||
resource "google_os_login_ssh_public_key" "cache" {
|
||||
user = data.google_client_openid_userinfo.me.email
|
||||
key = file("~/.ssh/id_ed25519.pub")
|
||||
project = var.project_id
|
||||
key = file("~/.ssh/id_ed25519")
|
||||
}
|
||||
Reference in New Issue
Block a user