From 27141a6a4924958efbbad47424a1c3ffa189fdc0 Mon Sep 17 00:00:00 2001 From: Austin Valle Date: Thu, 12 Feb 2026 15:25:27 -0500 Subject: [PATCH 1/4] add test logging --- .github/workflows/ci-go.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci-go.yml b/.github/workflows/ci-go.yml index 1a9b7520..f61b5f1c 100644 --- a/.github/workflows/ci-go.yml +++ b/.github/workflows/ci-go.yml @@ -28,7 +28,7 @@ jobs: strategy: matrix: go-version: [ '1.25', '1.24' ] - terraform: ${{ fromJSON(vars.TF_VERSIONS_PROTOCOL_V5) }} + terraform: ['1.15.0-alpha20260204'] steps: - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 - uses: actions/setup-go@7a3fe6cf4cb3a834922a1244abfce67bcef6a0c5 # v6.2.0 @@ -42,6 +42,15 @@ jobs: - run: go test -v -coverprofile=coverage.out ./... env: TF_ACC: "1" + TF_ACC_LOG: "DEBUG" + TF_LOG_PATH_MASK: "./%s.log" + - name: Upload test logs on failure + if: failure() + uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0 + with: + name: go-${{ matrix.go-version }}-terraform-${{ matrix.terraform }}-test-logs + path: "**/*.log" + if-no-files-found: warn - name: Remove wildcard suffix from TF version id: tf_version run: | From 7c1245d432482b48c971423a70d2bb34d7b74f0a Mon Sep 17 00:00:00 2001 From: Austin Valle Date: Thu, 12 Feb 2026 15:35:12 -0500 Subject: [PATCH 2/4] trace logs --- .github/workflows/ci-go.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci-go.yml b/.github/workflows/ci-go.yml index f61b5f1c..9b51bb37 100644 --- a/.github/workflows/ci-go.yml +++ b/.github/workflows/ci-go.yml @@ -42,7 +42,7 @@ jobs: - run: go test -v -coverprofile=coverage.out ./... env: TF_ACC: "1" - TF_ACC_LOG: "DEBUG" + TF_ACC_LOG: "TRACE" TF_LOG_PATH_MASK: "./%s.log" - name: Upload test logs on failure if: failure() From 02a9ba3dd844bdcfc9ca6dd0c56f57d6ee3ce4f9 Mon Sep 17 00:00:00 2001 From: Austin Valle Date: Thu, 12 Feb 2026 15:40:09 -0500 Subject: [PATCH 3/4] use absolute path --- .github/workflows/ci-go.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci-go.yml b/.github/workflows/ci-go.yml index 9b51bb37..d856d4af 100644 --- a/.github/workflows/ci-go.yml +++ b/.github/workflows/ci-go.yml @@ -43,7 +43,7 @@ jobs: env: TF_ACC: "1" TF_ACC_LOG: "TRACE" - TF_LOG_PATH_MASK: "./%s.log" + TF_LOG_PATH_MASK: "${{ github.workspace }}/%s.log" - name: Upload test logs on failure if: failure() uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0 From cb1a7961a438eb8e97adb74e97aca673547e72e3 Mon Sep 17 00:00:00 2001 From: Austin Valle Date: Thu, 12 Feb 2026 16:00:56 -0500 Subject: [PATCH 4/4] trace tf logs --- .github/workflows/ci-go.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci-go.yml b/.github/workflows/ci-go.yml index d856d4af..84b662a5 100644 --- a/.github/workflows/ci-go.yml +++ b/.github/workflows/ci-go.yml @@ -42,6 +42,7 @@ jobs: - run: go test -v -coverprofile=coverage.out ./... env: TF_ACC: "1" + TF_LOG: "TRACE" TF_ACC_LOG: "TRACE" TF_LOG_PATH_MASK: "${{ github.workspace }}/%s.log" - name: Upload test logs on failure