Skip to content

Commit

Permalink
Merge pull request #335 from dxw/fix-uploading-new-tfvar-files
Browse files Browse the repository at this point in the history
Fix uploading new tfvar files
  • Loading branch information
Stretch96 authored Aug 21, 2024
2 parents 4482f4a + b8dbcea commit dab4f57
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions bin/terraform-dependencies/v2/get-tfvars
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,10 @@ do
fi
WORKSPACE_TFVARS_ADD_TO_PATHS_JSON=1
WORKSPACE_TFVARS_FILE_EXISTS=1
elif [[ -f "$CONFIG_TFVARS_DIR/$WORKSPACE_TFVARS_FILE" ]]
then
WORKSPACE_TFVARS_ADD_TO_PATHS_JSON=1
WORKSPACE_TFVARS_FILE_EXISTS=1
fi
fi
if [[ "$WORKSPACE_TFVARS_FILE_EXISTS" == "0" && "$NEW_TFVARS_ONLY" == 0 ]]
Expand Down Expand Up @@ -306,6 +310,10 @@ do
fi
WORKSPACE_TFVARS_ADD_TO_PATHS_JSON=1
WORKSPACE_TFVARS_FILE_EXISTS=1
elif [[ -f "$CONFIG_TFVARS_DIR/$WORKSPACE_TFVARS_FILE" ]]
then
WORKSPACE_TFVARS_ADD_TO_PATHS_JSON=1
WORKSPACE_TFVARS_FILE_EXISTS=1
fi
fi
if [[ "$WORKSPACE_TFVARS_FILE_EXISTS" == "0" && "$NEW_TFVARS_ONLY" == 0 ]]
Expand Down

0 comments on commit dab4f57

Please sign in to comment.