Getting started with Terraform functions — V1.0

<blockquote> <p>When I first started with Terraform to write configuration to deploy infrastructure on AWS and GCP, I did not know how powerful Terraform is.<br /> I wrote configuration code like an armature &mdash; repeated code blocks, hardcoded values, bloated and inflexible infrastructure configuration code.</p> <p>It took me a while to start using Terraform&rsquo;s built-in functions, and everything changed. I learned to leverage Terraform functions in my configuration code. My terraform code got 10x more flexible, manageable, readable, scalable, and DRY.</p> </blockquote> <h1>Let&#39;s get started with Terraform functions</h1> <p>The Terraform language includes several built-in functions that you can call from within expressions to transform and combine values.</p> <blockquote> <p>Note: The Terraform language does not support user-defined functions, and so only the functions built into the language are available for use.</p> </blockquote> <h1>The most commonly used Terraform function</h1> <h1>List functions</h1> <ul> <li><code><strong>formatlist()</strong></code><strong>: formatlist produces a list of strings by formatting a number of other values according to a specification string.</strong></li> </ul> <p>It&rsquo;s particularly useful when you want to create a formatted string by combining elements from a list, and you want to apply a consistent formatting pattern to those elements.</p> <p><a href="https://medium.com/@akhilesh-mishra/getting-started-with-terraform-functions-v1-0-4577bed36cb8"><strong>Visit Now</strong></a></p>