Terraform templatefile vs template_file: Which One To Use

Terraform templatefile vs template_file: Which One To Use

August 3, 2022
Tags:
terraform

Covers the 2 similarly named templatefile vs template_file and walks through a demo of both.

Summary

  • template_file is a data source. No longer recommended by Hashicorp.
  • templatefile is a built-in function. More powerful and cleaner syntax. Use this one.

Related inks:

Get full access to these great resources

All for less than the price of coffee a day

35 courses
242 lessons
39+ hours

Get started with BoltOps Learn now and get access to easy and powerful lessons

BoltOps Tools