diff --git a/terraform/modules/iam/outputs.tf b/terraform/modules/iam/outputs.tf index 69edc49..676f4fd 100644 --- a/terraform/modules/iam/outputs.tf +++ b/terraform/modules/iam/outputs.tf @@ -4,11 +4,12 @@ output "email" { description = "Service account email." - value = google_service_account.service_account.email + value = google_service_account.service_account.email } +# 2. Clé du compte de service output "key" { - description = "Service account key." + description = "Service account private key (base64)." sensitive = true - value = google_service_account.service_account.key + value = google_service_account_key.service_account_key.private_key } \ No newline at end of file