feat: Remove dependency on deprecated hashicorp/template provider (#1297)

BREAKING CHANGES: We remove the dependency on the deprecated `hashicorp/template` provider and use the Terraform built in `templatefile` function. This will broke some workflows due to previously being able to pass in the raw contents of a template file for processing. The `templatefile` function requires a template file that exists before running a plan.
This commit is contained in:
Dov Salomon
2021-05-17 04:25:38 -04:00
committed by GitHub
parent e3bf48bba2
commit f7d09a2901
14 changed files with 92 additions and 105 deletions

View File

@@ -109,8 +109,8 @@ output "workers_asg_names" {
output "workers_user_data" {
description = "User data of worker groups"
value = concat(
data.template_file.userdata.*.rendered,
data.template_file.launch_template_userdata.*.rendered,
local.userdata_rendered,
local.launch_template_userdata_rendered,
)
}