diff --git a/.gitignore b/.gitignore index 8bedd020..f51c4d8c 100644 --- a/.gitignore +++ b/.gitignore @@ -43,6 +43,7 @@ yq*.snap test.yml test*.yml +test*.tf test*.xml test*.toml test*.yaml diff --git a/acceptance_tests/inputs-format.sh b/acceptance_tests/inputs-format.sh index 60d0bd11..282b5287 100755 --- a/acceptance_tests/inputs-format.sh +++ b/acceptance_tests/inputs-format.sh @@ -6,6 +6,7 @@ setUp() { rm test*.csv 2>/dev/null || true rm test*.tsv 2>/dev/null || true rm test*.xml 2>/dev/null || true + rm test*.tf 2>/dev/null || true } testInputProperties() { @@ -255,4 +256,61 @@ EOM assertEquals "$expected" "$X" } +testInputTerraform() { + cat >test.tf <test.tf <