fix: Revert removal of templates provider (#883)

Broke use case of passing in custom template content. Reverts most of the following PRs:
- #865
- #863 
- #854
This commit is contained in:
Daniel Piddock
2020-06-05 10:34:23 +02:00
committed by GitHub
parent 05cd78593a
commit 7de18cd9cd
13 changed files with 123 additions and 92 deletions

View File

@@ -262,7 +262,7 @@ resource "aws_launch_template" "workers_launch_template" {
local.workers_group_defaults["key_name"],
)
user_data = base64encode(
local.launch_template_userdata[count.index],
data.template_file.launch_template_userdata.*.rendered[count.index],
)
ebs_optimized = lookup(