SaveMyCert
Log in
2 of 2 free questions left today·for 5 a day
Scalable Terraform configuration design

Fallbacks for missing values: lookup, try, can and coalesce

1 min read · 276 wordsTerraform Pro 002Updated

In one line: lookup covers a missing map key, try and can catch evaluation errors, and coalesce skips nulls and empty strings but not missing attributes.

You’ve read your 2 free Terraform Pro 002 lessons

Sign up free to read every lesson — your progress is saved.

Spotted a mistake in this part?

Part 3 of 10Next