terraform stacks deployment-run cancel 명령

terraform stacks deployment-run cancel 명령

terraform stacks deployment-run cancel 명령은 진행 중인 배포 실행(deployment run)을 취소하는 명령이에요. 실수로 시작했거나 더 이상 필요 없어진 배포 실행을 중단하고 싶을 때 사용해요.

출처: 문서

본문

사용법 (Usage)

$ terraform stacks <global-stacks-flags> deployment-run cancel -deployment-run-id <value>

설명 (Description)

terraform stacks deployment-run cancel 명령은 현재 진행 중인 배포 실행을 취소해요. 이 명령은 취소하려는 배포 실행의 ID가 필요해요.

옵션 (Options)

  • -deployment-run-id: 취소할 배포 실행의 ID.
    • 필수 값이에요.
    • 문자열(string) 타입이에요.
    • 기본값이 없어요.

취소할 대상의 ID는 반드시 정확해야 해요. 잘못된 ID를 넘기면 다른 배포 실행이 취소될 수 있으니, terraform stacks deployment-run list 명령으로 먼저 정확한 ID를 확인한 후 사용하는 게 좋아요.

예시 (Examples)

다음 명령은 ID가 run-abc123인 배포 실행을 취소해요.

$ terraform stacks deployment-run cancel -deployment-run-id run-abc123

전역 플래그 (Global flags)

모든 명령에서 공통으로 사용할 수 있는 플래그에 대한 정보는 Global flags reference 문서를 참고해 주세요.

더 알아보기 (Learn more)

  • terraform stacks deployment-run 명령
  • terraform stacks deployment-run list 명령
  • Terraform Stacks CLI 참조 문서