Is it possible to add math functions for floor(float) and ceil(float) ?
I would also add min
and max
to this request.
One example for usage of these would be -
resource "aws_nat_gateway" "nat" {
count = "${min( length(var.azs), length(var.private_subnets) }"
}
(I have already had to hack an implementation for all four of these!)
I'm going to lock this issue because it has been closed for _30 days_ โณ. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
Most helpful comment
I would also add
min
andmax
to this request.One example for usage of these would be -