Skip to content
This repository has been archived by the owner on Jun 8, 2022. It is now read-only.

Simplify logic where ternary operator can return a list directly #51

Open
lorengordon opened this issue Jun 12, 2019 · 0 comments
Open

Comments

@lorengordon
Copy link
Contributor

The ternary operator can return any type now. Rather than machinations with slice/list/etc, just return the desired list value directly.

https://www.terraform.io/docs/configuration/expressions.html#conditional-expressions

Originally posted by @lorengordon in #49

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant