How to get the min value from a set or list of numbers in terraform?

You can use terraform min() function which takes one or more numbers and returns the smallest number from the set.

Open terraform console

Get the number with min value in terraform

Get the min value from a list of numbers in terraform

Leave a Reply