forked from pierront/but3-iac
1 bonus pas catégorie
This commit is contained in:
@@ -28,3 +28,14 @@ resource "google_os_login_ssh_public_key" "ssh_key" {
|
||||
key = file(pathexpand("~/.ssh/id_ed25519.pub"))
|
||||
}
|
||||
|
||||
resource "google_project_iam_custom_role" "custom_viewer" {
|
||||
role_id = "customBasicViewer"
|
||||
title = "Custom Basic Viewer"
|
||||
project = var.project_id
|
||||
description = "Role custom pour TP"
|
||||
|
||||
permissions = [
|
||||
"compute.instances.get",
|
||||
"compute.instances.list",
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user