From d43ac1d87ad357ef640433086c0dc5a22c97b4a0 Mon Sep 17 00:00:00 2001 From: exAspArk Date: Thu, 13 Apr 2017 11:11:07 -0400 Subject: [PATCH] PLAT-128 PLAT-129 Fix ecs_cluster.tf for Terraform version 0.8.8 --- ecs_cluster/ecs_cluster.tf | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/ecs_cluster/ecs_cluster.tf b/ecs_cluster/ecs_cluster.tf index a1c66ab..ea5cb55 100644 --- a/ecs_cluster/ecs_cluster.tf +++ b/ecs_cluster/ecs_cluster.tf @@ -55,10 +55,10 @@ resource "aws_launch_configuration" "cluster" { security_groups = ["${aws_security_group.cluster.name}"] key_name = "${var.key_name}" - user_data = "${template_file.cloud_config.rendered}" + user_data = "${data.template_file.cloud_config.rendered}" } -resource "template_file" "cloud_config" { +data "template_file" "cloud_config" { template = <