Backwards compatibility for template files based on semantic versioning using Terraform

Mike Ensor
4 min readApr 23, 2020

Note: The solution for this solution can be found in here: https://gitlab.com/mike-ensor/terraform-templatefile-semvar

tl;dr

  • Template files in Terraform can be replaced with variables using template_file
  • Templates that have different properties based on the versions…

--

--