From b4f7afa8711ede5ae671ec77377e4e874ff49249 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Respaut?= Date: Thu, 19 Jul 2018 16:39:10 +0200 Subject: [PATCH] MON-259: README should have a valide tf fmt example --- scripts/01_update_output.sh | 2 +- scripts/02_update_readme.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/01_update_output.sh b/scripts/01_update_output.sh index d9878ae..07732f9 100755 --- a/scripts/01_update_output.sh +++ b/scripts/01_update_output.sh @@ -14,7 +14,7 @@ for path in $(find $TO_PARSE -path ./incubator -prune -o -name 'monitors-*.tf' - > outputs.tf for monitor in $(grep 'resource "datadog_monitor"' $(basename $path) | awk '{print $3}' | tr -d '"' ); do echo $monitor - cat <> outputs.tf + cat >> outputs.tf <