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 <