There is a list variable called "users". You would like to define an output variable with a value of all users in uppercase. How to achieve that?
Answer
output "users" {
value = [for name in var.user_names : upper(name)]
}
output "users" {
value = [for name in var.user_names : upper(name)]
}