This commit is contained in:
2025-12-04 09:48:31 +01:00
parent a01b707b43
commit 6823a0d5e6
2 changed files with 2 additions and 2 deletions

View File

@@ -10,7 +10,7 @@ resource "google_service_account" "service_account" {
} }
resource "google_service_account_key" "mykey" { resource "google_service_account_key" "mykey" {
service_account_id = google_service_account.service_account.name service_account_id = google_service_account_key.service_account.name
public_key_type = "TYPE_X509_PEM_FILE" public_key_type = "TYPE_X509_PEM_FILE"
} }

View File

@@ -10,5 +10,5 @@ output "service_account_email" {
output "service_account_key" { output "service_account_key" {
description = "Service account key." description = "Service account key."
sensitive = true sensitive = true
value = google_service_account.service_account.mykey.private_key value = google_service_account_key.mykey.private_key
} }