Add 'else if' expression for template rendering
Current Terraform Version
0.12.26
Use-cases
In Terraform template files, we could use an else if expression in addition to if and else.
Attempted Solutions
We could of course currently do nested if/else for this, but it is messy.
Proposal
Add the else if/elseif/elsif expression to the template rendering engine.
References
n/a
Other
I searched the issue tracker here and could not find an open FR for this. If this is a duplicate, please let me know.
+1
+1
+1 on that. Any progress?
+1
really, this does not exist?!! 👍
It would be kind of a decent "feature" :)
+1 This addition would be extremely useful and highly appreciated.
Just a reminder to please use the 👍 reaction on the original post to upvote issues - we do sort by most upvoted to understand which issues are the most important. This also reduces "noise" in the notification feed for folks following this issue. Thanks!
150 👍 and counting!