small var conditional fix
This commit is contained in:
parent
da4337e5bc
commit
40c66f9fa9
|
@ -25,11 +25,11 @@ output "name" {
|
|||
}
|
||||
output "notification" {
|
||||
description = "GCS Notification self link."
|
||||
value = local.notification == true ? google_storage_notification.notification[0].self_link : null
|
||||
value = local.notification ? google_storage_notification.notification[0].self_link : null
|
||||
}
|
||||
output "topic" {
|
||||
description = "Topic ID used by GCS."
|
||||
value = local.notification == true ? google_pubsub_topic.topic[0].id : null
|
||||
value = local.notification ? google_pubsub_topic.topic[0].id : null
|
||||
}
|
||||
output "url" {
|
||||
description = "Bucket URL."
|
||||
|
|
Loading…
Reference in New Issue