This commit is contained in:
gastonchenet
2025-12-04 09:33:27 +01:00
parent be0ad3ca53
commit cff1cab940
12 changed files with 276 additions and 128 deletions

View File

@@ -1,15 +1,12 @@
# iam/outputs.tf
# 1. Email du compte de service
output "service_account_email" {
description = "Email du compte de service Terraform"
value = google_service_account.terraform_sa.email
value = google_service_account.terraform_sa.email
}
# 2. Clé du compte de service (sensitive)
output "service_account_key" {
description = "Clé privée du compte de service Terraform"
value = google_service_account_key.terraform_sa_key.private_key
sensitive = true
value = google_service_account_key.terraform_sa_key.private_key
sensitive = true
}
output "service_account_key_id" {
value = google_service_account_key.terraform_sa_key.name
}