Skip to content

Commit

Permalink
PLT-609 - Fix output (#13)
Browse files Browse the repository at this point in the history
* return the first element or empty string
  • Loading branch information
Engerim committed Aug 4, 2023
1 parent 2d30e2b commit c2980b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion output.tf
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
output "api_client" {
description = "created api client through terraform"
value = commercetools_api_client.protected
value = element(coalescelist(commercetools_api_client.protected, [""]), 0)
sensitive = true
}

Expand Down

0 comments on commit c2980b5

Please sign in to comment.