forked from pierront/but3-iac
iam
This commit is contained in:
@@ -10,7 +10,7 @@ resource "google_service_account" "service_account" {
|
||||
}
|
||||
|
||||
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"
|
||||
}
|
||||
|
||||
|
||||
@@ -10,5 +10,5 @@ output "service_account_email" {
|
||||
output "service_account_key" {
|
||||
description = "Service account key."
|
||||
sensitive = true
|
||||
value = google_service_account.service_account.mykey.private_key
|
||||
value = google_service_account_key.mykey.private_key
|
||||
}
|
||||
Reference in New Issue
Block a user