Fix output

This commit is contained in:
Ludovico Magnocavallo 2021-05-20 21:34:24 +02:00 committed by GitHub
parent 2595f8bb83
commit 3d7cc9810d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 3 deletions

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" {