From e6be4fefe81f7469e6cda0991a4dbf45e85df6ea Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Mon, 7 Nov 2016 13:56:56 -0800 Subject: [PATCH] terraform: reference an output so it isn't pruned during plan --- .../test-fixtures/plan-module-wrong-var-type/inner/main.tf | 3 +++ 1 file changed, 3 insertions(+) diff --git a/terraform/test-fixtures/plan-module-wrong-var-type/inner/main.tf b/terraform/test-fixtures/plan-module-wrong-var-type/inner/main.tf index 8a9f380c7..c7f975a3b 100644 --- a/terraform/test-fixtures/plan-module-wrong-var-type/inner/main.tf +++ b/terraform/test-fixtures/plan-module-wrong-var-type/inner/main.tf @@ -5,3 +5,6 @@ variable "map_in" { us-west-2 = "ami-67890" } } + +// We have to reference it so it isn't pruned +output "output" { value = "${var.map_in}" }