diff --git a/.github/workflows/linter-analysis.yaml b/.github/workflows/linter-analysis.yaml index 954c9818..6a6d4f59 100644 --- a/.github/workflows/linter-analysis.yaml +++ b/.github/workflows/linter-analysis.yaml @@ -58,5 +58,8 @@ jobs: - name: Initializing TFLint run: TFLINT_LOG=info tflint --init -c "$(pwd)/linting-configs/.tflint.hcl" + - name: Run TFLint Action - root + run: TFLINT_LOG=info tflint -c "$(pwd)/linting-configs/.tflint.hcl" --var='ssh_public_key=null' + - name: Run TFLint Action run: TFLINT_LOG=info tflint -c "$(pwd)/linting-configs/.tflint.hcl" --recursive diff --git a/linting-configs/.tflint.hcl b/linting-configs/.tflint.hcl index 7fc985d8..f49fac6a 100644 --- a/linting-configs/.tflint.hcl +++ b/linting-configs/.tflint.hcl @@ -10,7 +10,6 @@ config { # Enables module inspection. module = true - variables = ["ssh_public_key=null"] } plugin "azurerm" {