Files
but3-iac/terraform/modules/iam/variables.tf

26 lines
596 B
Terraform
Raw Normal View History

variable "project_id" {
type = string
2025-12-04 09:33:27 +01:00
description = "GCP project id"
}
variable "sa_name" {
type = string
description = "Service account name (id)"
default = "terraform-sa"
}
variable "sa_display_name" {
type = string
description = "Service account display name"
default = "Terraform Service Account"
}
2025-12-04 09:33:27 +01:00
variable "roles" {
type = list(string)
default = [
"roles/compute.instanceAdmin.v1",
"roles/iam.serviceAccountUser",
"roles/iam.serviceAccountKeyAdmin",
]
description = "Liste des roles à attribuer au compte de service"
}