Skip to content

Commit fe99c38

Browse files
committed
workspace changes
1 parent c2f3f3d commit fe99c38

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

terraform/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ lock-provider:
2020
$(tf_cmd) providers lock -platform=darwin_arm64 -platform=darwin_amd64 -platform=linux_amd64 -platform=windows_amd64
2121

2222
workspace:
23-
$(tf_cmd) workspace new $(sub_environment) || $(tf_cmd) workspace select $(sub_environment) && echo "Switched to workspace/environment: $(sub_environment)"
23+
( $(tf_cmd) workspace new $(ENVIRONMENT) || $(tf_cmd) workspace select $(ENVIRONMENT) ) && echo "Switched to workspace/environment: $(ENVIRONMENT)"
2424

2525
init:
2626
$(tf_cmd) init $(tf_state) -upgrade $(tf_vars)

0 commit comments

Comments
 (0)