terraform stacks deployment-run approve-all-plans 명령
terraform stacks deployment-run approve-all-plans 명령
terraform stacks deployment-run approve-all-plans 명령은 배포 실행(deployment run)의 모든 플랜(plan)을 승인하는 명령이에요. 대기 중인 배포 단계들이 있을 때 이 명령으로 한 번에 승인할 수 있어요.
출처: 문서
본문
사용법 (Usage)
$ terraform stacks <global-stacks-flags> deployment-run approve-all-plans <options>
설명 (Description)
배포 실행의 모든 플랜을 승인해요. 여러 스택에 걸쳐 승인이 필요한 플랜이 쌓여 있을 때, 개별적으로 승인하는 대신 이 명령으로 일괄 승인할 수 있어요.
옵션 (Options)
-deployment-run-id: 승인할 배포 실행의 ID.- 필수 값이에요.
- 문자열(string) 타입이에요.
예시 (Examples)
다음 명령은 특정 배포 실행의 모든 플랜을 승인해요.
$ terraform stacks deployment-run approve-all-plans -deployment-run-id dr-123abc
배포 실행 ID는 terraform stacks deployment-run list 명령으로 확인할 수 있어요.
전역 플래그 (Global flags)
모든 명령에서 공통으로 사용할 수 있는 플래그에 대한 정보는 Global flags reference 문서를 참고해 주세요.
더 알아보기 (Learn more)
- terraform stacks deployment-run 명령
- terraform stacks deployment-run list 명령
- Terraform Stacks CLI 참조 문서