Ned Bellavance 7/4/2018

Terraform - FotD - compact()

Read Original

This technical blog post details the compact() interpolation function in Terraform (HashiCorp's infrastructure-as-code tool). It explains how the function removes empty string values from a list, provides code examples, discusses practical use cases like input sanitization, and notes important behaviors regarding nested lists, booleans, and whitespace.

Terraform - FotD - compact()

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser

Top of the Week

1
The Beautiful Web
Jens Oliver Meiert 2 votes
3
LLM Use in the Python Source Code
Miguel Grinberg 1 votes
4
Wagon’s algorithm in Python
John D. Cook 1 votes