From f8e41b36d5c2cb833207cb648ada29637ea9eeb3 Mon Sep 17 00:00:00 2001 From: dmsolutionsmn Date: Tue, 6 Aug 2024 14:36:38 -0500 Subject: [PATCH 1/2] pr to test bad formatting --- .github/workflows/data/local/main.tf | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/data/local/main.tf b/.github/workflows/data/local/main.tf index 81ea3447..6478508a 100644 --- a/.github/workflows/data/local/main.tf +++ b/.github/workflows/data/local/main.tf @@ -1,5 +1,8 @@ resource "random_pet" "pet" {} +// bad format -output "pet" { + + +output "pet" { value = random_pet.pet.id } From f275b5c8550b1f24994c6c27bfae1742cc82ce30 Mon Sep 17 00:00:00 2001 From: dmsolutionsmn Date: Tue, 6 Aug 2024 14:43:47 -0500 Subject: [PATCH 2/2] pr to test bad tf --- .github/workflows/data/local/main.tf | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/data/local/main.tf b/.github/workflows/data/local/main.tf index 6478508a..f632afe9 100644 --- a/.github/workflows/data/local/main.tf +++ b/.github/workflows/data/local/main.tf @@ -1,8 +1,6 @@ resource "random_pet" "pet" {} -// bad format - - -output "pet" { +output "pet" +// bad tf doesn't get caught by terraform fmt as it exits with code 2 value = random_pet.pet.id }