Quantcast
Channel: Terraform - HashiCorp Discuss
Viewing all articles
Browse latest Browse all 11426

Can't apply splat operator to null sequence

$
0
0

This seems to have stoped working

special_steps = var.prefix == "dev" ? ["go"] : null

│  118:         for_each = local.special_steps[*]
│     ├────────────────
│     │ local.special_steps is null
│ 
│ Splat expressions (with the * symbol) cannot be applied to null sequences.

Any thoughts on that?

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 11426

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>