Terraform expressions evaluation
I am back from a long time of pause.
This time with some Terraform tricks.
This one is a very short one.
If you are in the situation when you don't want to wait for terraform to compile the whole plan before evaluating an expression, you can go this alternative path:
➜ ~ echo '{ for i in range(2) : i => {} }' | terraform console
{
"0" = {}
"1" = {}
}