Hi,
I am trying to implement IF - ELSE in mustache on an existing condition for ECS service which is working,
desired count = “${var.dr_region == var.region ? 0 : {{initial_capacity}}}”
what I am looking for is, in the very same condition what I am trying to implement is if dr region is not equal to region I want to give another count. some thing like this which doesnt work
desired count = “${var.dr_region == var.region ? 0 : {{initial_capacity}} && var.dr_region != var.region ? 0 : {{maximum_capacity}}}”
can someone help me on how to solve this?
Thanks in advance