Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mamari90 committed Nov 25, 2024
1 parent 6128c08 commit 494e3a2
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .utils/terraform_run_all.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,16 +29,15 @@ esac

function terraform_init(){
folder="$1"

root_folder="$(pwd)"
if [ -d "$folder" ]; then
echo "🔬 folder: $folder in under terraform: $ACTION action $MODE mode"

rm -rf "$folder/ignore_features.tf"
rm -rf "$folder/.terraform"
rm -rf "$folder/.terraform.lock.hcl"
# cp ".utils/features.tf" "$folder/ignore_features.tf"
find "$folder" -type f -name '*.terraform.lock.hcl*' -delete
root_folder="$(pwd)"

cd "$folder" || exit

case "${MODE}" in
Expand Down

0 comments on commit 494e3a2

Please sign in to comment.