mirror of https://github.com/hashicorp/terraform
This function returns -1 for negative numbers, 0 for 0 and 1 for positive numbers.
Useful when you need to set a value for the first resource and a different value for the rest of the resources.
Example: `${element(split(",", var.r53_failover_policy), signum(count.index))}`
pull/4854/head
parent
97ea366671
commit
c8795b8565
Loading…
Reference in new issue