Skip to content

Commit 8662685

Browse files
committed
Get module list
1 parent eeee89a commit 8662685

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.circleci/config.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,14 @@ jobs:
3737
if [ -f '.tflint.hcl' ]; then
3838
sed -i "/terraform_version =/s/\".*\"/\"${tf_ver}\"/" .tflint.hcl
3939
else
40+
# TODO: Create ignore_module section of all modules
41+
# grep -h '[^a-zA-Z]source[ =]' *.tf | sed -r 's/.*=\s+//' | sort -u
4042
echo -e "config {\nterraform_version = \"${tf_ver}\"\ndeep_check = true\n}" > .tflint.hcl
4143
fi
44+
echo "tflint configuration:"
4245
cat .tflint.hcl
46+
echo "Module list:"
47+
grep -h '[^a-zA-Z]source[ =]' *.tf | sed -r 's/.*=\s+//' | sort -u
4348
- run:
4449
# Not supporting modules from registry ?? v0.5.4
4550
# For now, must ignore in config file

0 commit comments

Comments
 (0)