title: Use multiple conditions for count in terraform ternary operations using elseif
body: <p>I am trying to get terraform to create a resouce based on the count conditon as below, i cant get my head around the syntax, it should be something like below: </p>
  
  <pre><code>count = “${var.size[terraform.workspace] == "big" ? &amp;&amp; local.ips[terraform.workspace] != “&lt;none&gt;“} then 10
  elseif
  ${var.size[terraform.workspace] == "small"  &amp;&amp; local.ips[terraform.workspace] != “&lt;none&gt;” } then 20
  else 0 
  </code></pre>