Fix output
This commit is contained in:
parent
2595f8bb83
commit
3d7cc9810d
|
@ -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" {
|
||||
|
|
Loading…
Reference in New Issue