File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -20,15 +20,13 @@ lock-provider:
2020 $(tf_cmd ) providers lock -platform=darwin_arm64 -platform=darwin_amd64 -platform=linux_amd64 -platform=windows_amd64
2121
2222workspace :
23- @echo " Selecting or creating workspace: $( ENVIRONMENT) "
24- @$(tf_cmd ) workspace select $(ENVIRONMENT) || $( tf_cmd) workspace new $( ENVIRONMENT)
25- @echo " Switched to workspace/environment: $( ENVIRONMENT) "
23+ $(tf_cmd ) workspace new $(sub_environment ) || $(tf_cmd ) workspace select $(sub_environment) && echo " Switched to workspace/environment: $( sub_environment) "
2624
2725init :
2826 $(tf_cmd ) init $(tf_state ) -upgrade $(tf_vars )
2927
3028init-reconfigure :
31- $(tf_cmd ) init -reconfigure $(tf_state ) -upgrade
29+ $(tf_cmd ) init $(tf_state ) -upgrade $( tf_vars ) -reconfigure
3230
3331plan : workspace
3432 $(tf_cmd ) plan $(tf_vars )
You can’t perform that action at this time.
0 commit comments