Skip to content

Commit 3a56591

Browse files
committed
test creating new config
1 parent 8662685 commit 3a56591

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.circleci/config.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,12 @@ jobs:
4343
fi
4444
echo "tflint configuration:"
4545
cat .tflint.hcl
46-
echo "Module list:"
47-
grep -h '[^a-zA-Z]source[ =]' *.tf | sed -r 's/.*=\s+//' | sort -u
46+
echo "Newly created config:"
47+
echo -e "config {\nterraform_version = \"${tf_ver}\"\ndeep_check = true\nignore_module = {\n"
48+
for module in $(grep -h '[^a-zA-Z]source[ =]' *.tf | sed -r 's/.*=\s+//' | sort -u); do
49+
echo "${module} = true"
50+
done
51+
echo "}}"
4852
- run:
4953
# Not supporting modules from registry ?? v0.5.4
5054
# For now, must ignore in config file

0 commit comments

Comments
 (0)