Skip to content

Commit

Permalink
fixed module test script
Browse files Browse the repository at this point in the history
  • Loading branch information
bczoma committed Feb 29, 2024
1 parent 98aef97 commit 8a5d025
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ci/scripts/test-module.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 8a5d025

Please sign in to comment.