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

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

Open terraform console

Get the number with maximum value in terraform

Get the max value from a list of numbers in terraform

Leave a Reply