packer plugins required 명령 참조

packer plugins required 명령 참조

plugins required 명령은 Packer 설정이 요구하는 모든 플러그인과, 그 버전 제약(constraint)에 맞는 설치된 모든 바이너리를 나열해요. 목록의 첫 번째 바이너리가 가장 최신으로 설치된 버전이고, 빌드에서 Packer가 선택하는 버전이 바로 그것이에요.

$ packer plugins required -h
Usage: packer plugins required <path>
This command will list every Packer plugin required by a Packer config, in
packer.required_plugins blocks. All binaries matching the required version
constrain and the current OS and Architecture will be listed. The most recent
version (and the first of the list) will be the one picked by Packer during a
build.
Ex: packer plugins required require.pkr.hcl
Ex: packer plugins required path/to/folder/

출처: Packer 공식 문서

본문

이 명령은 packer.required_plugins 블록 안에서 Packer 설정이 요구하는 모든 플러그인을 나열해요. 요구된 버전 제약과 현재 OS·아키텍처에 맞는 모든 바이너리가 나열돼요. 가장 최신 버전(목록의 첫 번째)이 빌드 중 Packer가 선택하는 버전이에요.

더 알아보기 (Learn more)

  • packer init은 필요한 모든 플러그인을 설치할 거예요.