You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: image/actions.sh
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -164,7 +164,7 @@ function init-backend() {
164
164
if [[ $INIT_EXIT-eq 0 ]];then
165
165
cat "$STEP_TMP_DIR/terraform_init.stderr">&2
166
166
else
167
-
if grep -q "No existing workspaces.""$STEP_TMP_DIR/terraform_init.stderr"|| grep -q "Failed to select workspace""$STEP_TMP_DIR/terraform_init.stderr";then
167
+
if grep -q "No existing workspaces.""$STEP_TMP_DIR/terraform_init.stderr"|| grep -q "Failed to select workspace""$STEP_TMP_DIR/terraform_init.stderr"|| grep -q "Currently selected workspace.*does not exist""$STEP_TMP_DIR/terraform_init.stderr";then
168
168
# Couldn't select workspace, but we don't really care.
169
169
# select-workspace will give a better error if the workspace is required to exist
0 commit comments