From 54b492a5cdf6f25cc04d97ca4bf58c4d1fd59a7c Mon Sep 17 00:00:00 2001 From: cliftonHPE Date: Wed, 4 Dec 2024 15:11:02 +0200 Subject: [PATCH] add check to Justfile --- .github/workflows/lint-test-code.yaml | 8 -------- Justfile | 2 ++ examples/provider/provider.tf | 4 ++-- 3 files changed, 4 insertions(+), 10 deletions(-) diff --git a/.github/workflows/lint-test-code.yaml b/.github/workflows/lint-test-code.yaml index ffff91d..f0c7281 100644 --- a/.github/workflows/lint-test-code.yaml +++ b/.github/workflows/lint-test-code.yaml @@ -71,11 +71,3 @@ jobs: files: ./pkg/config-api-client/.coverage,.coverage flage: client,provider fail_ci_if_error: true - - - name: Setup Terraform - uses: hashicorp/setup-terraform@v1 - with: - terraform_version: 0.13.7 - - - name: Terraform Formatting Check - run: terraform fmt -recursive -check diff --git a/Justfile b/Justfile index 067d1f6..c42ce6f 100644 --- a/Justfile +++ b/Justfile @@ -74,6 +74,8 @@ lint: python -m tools.lint-attribution lint + terraform fmt -recursive -check + fmt: python -m tools.lint-attribution format go run github.com/segmentio/golines@v0.12.2 -w . diff --git a/examples/provider/provider.tf b/examples/provider/provider.tf index 7c4ff7b..cc63061 100644 --- a/examples/provider/provider.tf +++ b/examples/provider/provider.tf @@ -1,4 +1,4 @@ provider "hpeuxi" { - client_id = "your_greenlake_uxi_client_id" - client_secret = "your_greenlake_uxi_client_secret" + client_id = "your_greenlake_uxi_client_id" + client_secret = "your_greenlake_uxi_client_secret" }