Adopt Terraform v0.12 templatefile function

* Update terraform-render-bootstrap module to adopt the
Terrform v0.12 templatefile function feature to replace
the use of terraform-provider-template's `template_dir`
* Require Terraform v0.12.6+ which adds `for_each`

Background:

* `template_dir` was added to `terraform-provider-template`
to add support for template directory rendering in CoreOS
Tectonic Kubernetes distribution (~2017)
* Terraform v0.12 introduced a native `templatefile` function
and v0.12.6 introduced native `for_each` support (July 2019)
that makes it possible to replace `template_dir` usage
This commit is contained in:
Dalton Hubble
2019-11-13 14:09:34 -08:00
parent ad117f4592
commit cb0598e275
15 changed files with 17 additions and 14 deletions

View File

@ -4,6 +4,9 @@ Notable changes between versions.
## Latest
* Require Terraform version v0.12.6+ (action required)
* Replace internal usage of `template_dir` with `templatefile` function
## v1.16.3
* Kubernetes [v1.16.3](https://github.com/kubernetes/kubernetes/blob/master/CHANGELOG-1.16.md#v1163)