From 8a5d0255ecffed67625743fa6a75458286bdc710 Mon Sep 17 00:00:00 2001 From: Balazs Czoma Date: Thu, 29 Feb 2024 10:00:02 -0500 Subject: [PATCH] fixed module test script --- ci/scripts/test-module.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ci/scripts/test-module.sh b/ci/scripts/test-module.sh index 412b030..c9529b0 100755 --- a/ci/scripts/test-module.sh +++ b/ci/scripts/test-module.sh @@ -9,9 +9,9 @@ cat main.tf terraform init terraform validate # Create -terraform plan "$2" -terraform apply -auto-approve "$2" -terraform plan "$2" | grep "No changes" +terraform plan $2 +terraform apply -auto-approve $2 +terraform plan $2 | grep "No changes" sleep 1 terraform destroy -auto-approve popd \ No newline at end of file