Skip to content

Commit 4859377

Browse files
committed
updated linter-analysis to run root separately
1 parent 12f9881 commit 4859377

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.github/workflows/linter-analysis.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,5 +58,8 @@ jobs:
5858
- name: Initializing TFLint
5959
run: TFLINT_LOG=info tflint --init -c "$(pwd)/linting-configs/.tflint.hcl"
6060

61+
- name: Run TFLint Action - root
62+
run: TFLINT_LOG=info tflint -c "$(pwd)/linting-configs/.tflint.hcl" --var='ssh_public_key=null'
63+
6164
- name: Run TFLint Action
6265
run: TFLINT_LOG=info tflint -c "$(pwd)/linting-configs/.tflint.hcl" --recursive

linting-configs/.tflint.hcl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
config {
1111
# Enables module inspection.
1212
module = true
13-
variables = ["ssh_public_key=null"]
1413
}
1514

1615
plugin "azurerm" {

0 commit comments

Comments
 (0)