Skip to content

Commit 1f09801

Browse files
committed
ci: improves the terraform-test
1 parent 5f595d3 commit 1f09801

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/terraform-test.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,16 @@ do
1010
terraform -chdir=$f init -upgrade
1111
~/.init-env
1212
source ./.terraform_profile
13-
echo "---> plan testing"
1413
echo ""
14+
echo "---> Plan Testing"
1515
cp scripts/plan.tftest.hcl $f/
1616
terraform -chdir=$f test test -verbose
1717
if [[ $? -ne 0 ]]; then
1818
success=false
1919
echo -e "\033[31m[ERROR]\033[0m: running terraform test for plan failed."
2020
else
21-
echo "---> plan testing"
2221
echo ""
22+
echo "---> Apply Testing"
2323
rm -rf scripts/plan.tftest.hcl
2424
cp scripts/apply.tftest.hcl $f/
2525
terraform -chdir=$f test test

0 commit comments

Comments
 (0)