From 1d8d96ce292de1853f56fc8904332859aff2ca2f Mon Sep 17 00:00:00 2001 From: Quentin Manfroi Date: Wed, 3 Jul 2019 18:20:28 +0200 Subject: [PATCH] MON-459 hack to bypass fmt bug with here doc --- scripts/99_terraform.sh | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/scripts/99_terraform.sh b/scripts/99_terraform.sh index 3abb356..786abf7 100755 --- a/scripts/99_terraform.sh +++ b/scripts/99_terraform.sh @@ -31,6 +31,11 @@ EOF terraform init ${dir} terraform validate ${dir} rm -f ${dir}/tmp.tf + # hack to work around bug https://github.com/hashicorp/terraform/issues/21434 + # TODO when fixed, remove this bloc and add "terraform fmt -recursive" to the end of this file + for file in $(grep ' = <