🔥 3-day streak
HashiCorp Certified: Terraform Associate (004)1 / 150
Question 1 of 150

A team wants an output that displays a custom DNS name when the variable custom_dns is set to a non-empty string, but otherwise falls back to the auto-generated endpoint from an AWS resource attribute. They want to avoid nested conditional expressions. Which built-in function best returns the first non-empty value from a list of arguments?

Reviewed for accuracy · Report an issueNext question