Skip to content

Commit

Permalink
Add .tflint.hcl to test case directories and fix the process of getti…
Browse files Browse the repository at this point in the history
…ng arch (#94)

* Test: Add .tflint.hcl

* arm64 adds to architecture conversion process

* Fix arch name
  • Loading branch information
massongit authored Aug 10, 2024
1 parent ed9fc53 commit 4adc549
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
3 changes: 2 additions & 1 deletion script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ echo '::group::Preparing'
unameArch="$(uname -m)"
case "${unameArch}" in
x86*) arch=amd64;;
aarch64*) arch=arm;;
aarch64*) arch=arm64;;
arm64*) arch=arm64;;
*) echo "Unsupported architecture: ${unameArch}" && exit 1
esac

Expand Down
4 changes: 4 additions & 0 deletions tests/modules/.tflint.hcl
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
plugin "terraform" {
enabled = true
preset = "recommended"
}
4 changes: 4 additions & 0 deletions tests/reviewdog-reporters/.tflint.hcl
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
plugin "terraform" {
enabled = true
preset = "recommended"
}

0 comments on commit 4adc549

Please sign in to comment.