ajout iam

This commit is contained in:
2025-12-04 11:05:05 +01:00
parent fec56a2ffc
commit dae3e1dffd
5 changed files with 28 additions and 15 deletions

View File

@@ -39,4 +39,5 @@ module "compute" {
module "iam" {
source ="../../modules/iam"
project_id = var.project_id
}
ssh_public_key_path = var.ssh_public_key_path
}

View File

@@ -52,4 +52,10 @@ variable "zone" {
description = "Nom de la zone"
type = string
default = "europe-west9-b"
}
}
variable "ssh_public_key_path" {
type = string
description = "Chemin vers la clé publique SSH"
default = "~/.ssh/id_ed25519.pub"
}