Fix output

This commit is contained in:
Ludovico Magnocavallo
2021-05-20 21:34:24 +02:00
committed by GitHub
parent 2595f8bb83
commit 3d7cc9810d

View File

@@ -38,9 +38,7 @@ output "function_name" {
output "service_account" {
description = "Service account resource."
value = (
var.service_account_create ? google_service_account.service_account[0] : null
)
value = try(google_service_account.service_account[0], null)
}
output "service_account_email" {