Skip to content

Commit

Permalink
Merge pull request #1695 from Azure/feature/1694
Browse files Browse the repository at this point in the history
added import and state TF commands
  • Loading branch information
xpillons authored Sep 29, 2023
2 parents 4c8de44 + 0e1c4f1 commit 3bdeb75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -441,7 +441,7 @@ while (( "$#" )); do
-a|--action)
TF_COMMAND=${2}
# verify that the action is either plan, apply or destroy
if [ "$TF_COMMAND" != "plan" ] && [ "$TF_COMMAND" != "apply" ] && [ "$TF_COMMAND" != "destroy" ]; then
if [ "$TF_COMMAND" != "plan" ] && [ "$TF_COMMAND" != "apply" ] && [ "$TF_COMMAND" != "destroy" ] && [ "$TF_COMMAND" != "import" ] && [ "$TF_COMMAND" != "state" ]; then
echo "Invalid action $TF_COMMAND. Valid values are plan, apply or destroy"
exit 1
fi
Expand Down

0 comments on commit 3bdeb75

Please sign in to comment.