terraform workspace select 명령
terraform workspace select 명령
terraform workspace select는 이후 작업에 사용할 다른 워크스페이스를 선택하는 명령이에요.
출처: 문서
본문
사용법 (Usage)
사용법: terraform workspace select NAME
이 명령은 다른 워크스페이스를 선택해요. 이름이 지정된 워크스페이스는 이미 존재해야 해요.
지원되는 플래그는 다음과 같아요:
false
예제 (Example)
$ terraform workspace list
default
* development
jsmith-test
$ terraform workspace select default
Switched to workspace "default".
여기서 workspace list는 별표(*)로 현재 워크스페이스를 표시하고, select로 default로 전환한 것을 볼 수 있어요.