We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 01ae179 commit 7e6624aCopy full SHA for 7e6624a
terraform/Makefile
@@ -20,6 +20,9 @@ lock-provider:
20
$(tf_cmd) providers lock -platform=darwin_arm64 -platform=darwin_amd64 -platform=linux_amd64 -platform=windows_amd64
21
22
workspace:
23
+ifndef sub_environment
24
+ $(error sub_environment is not set. Use 'make workspace sub_environment=your-env')
25
+endif
26
$(tf_cmd) workspace new $(sub_environment) || $(tf_cmd) workspace select $(sub_environment) && echo "Switched to workspace/environment: $(sub_environment)"
27
28
init:
0 commit comments