1 bonus pas catégorie

This commit is contained in:
ducreux
2025-12-04 09:41:31 +00:00
parent 30597fcc82
commit 745babd999
4 changed files with 136 additions and 6 deletions

View File

@@ -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",
]
}