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
$(tf_cmd) workspace new $(environment)||$(tf_cmd) workspace select$(environment)&&echo"Switched to workspace/environment: $(environment)"
23
+
$(tf_cmd) workspace select-or-create$(environment)&&echo"Switched to workspace/environment: $(environment)"
24
24
25
25
init:
26
-
$(tf_cmd) init $(tf_state) -upgrade
26
+
$(tf_cmd) init $(tf_state) -upgrade
27
27
28
28
plan: workspace
29
-
$(tf_cmd) plan
29
+
$(tf_cmd) plan
30
30
31
31
plan-changes: workspace
32
32
$(tf_cmd) plan -out=plan &&$(tf_cmd) show -no-color -json plan | jq -r '.resource_changes[] | select(.change.actions[0]=="update" or .change.actions[0]=="create" or .change.actions[0]=="add") | .address'
$(tf_cmd) workspace new $(environment)||$(tf_cmd) workspace select$(environment)&&echo"Switched to workspace/environment: $(environment)"
23
+
$(tf_cmd) workspace select-or-create$(environment)&&echo"Switched to workspace/environment: $(environment)"
24
24
25
25
init:
26
-
$(tf_cmd) init $(tf_state) -upgrade
26
+
$(tf_cmd) init $(tf_state) -upgrade
27
27
28
28
plan: workspace
29
-
$(tf_cmd) plan
29
+
$(tf_cmd) plan
30
30
31
31
plan-changes: workspace
32
32
$(tf_cmd) plan -out=plan &&$(tf_cmd) show -no-color -json plan | jq -r '.resource_changes[] | select(.change.actions[0]=="update" or .change.actions[0]=="create" or .change.actions[0]=="add") | .address'
0 commit comments