Skip to content

Instantly share code, notes, and snippets.

@tormath1
Created August 6, 2019 12:19
Show Gist options
  • Save tormath1/72539e150261c93f1e307ca19d697bf4 to your computer and use it in GitHub Desktop.
Save tormath1/72539e150261c93f1e307ca19d697bf4 to your computer and use it in GitHub Desktop.
packer validate build.json
PACKER_LOG=1 packer validate build.json
2019/08/06 14:17:59 [INFO] Packer version: 1.4.2
2019/08/06 14:17:59 Packer Target OS/Arch: linux amd64
2019/08/06 14:17:59 Built with Go Version: go1.12.7
2019/08/06 14:17:59 Detected home directory from env var: /home/mathieu
2019/08/06 14:17:59 Using internal plugin for amazon-chroot
2019/08/06 14:17:59 Using internal plugin for azure-arm
2019/08/06 14:17:59 Using internal plugin for alicloud-ecs
2019/08/06 14:17:59 Using internal plugin for lxc
2019/08/06 14:17:59 Using internal plugin for parallels-iso
2019/08/06 14:17:59 Using internal plugin for parallels-pvm
2019/08/06 14:17:59 Using internal plugin for vmware-iso
2019/08/06 14:17:59 Using internal plugin for hyperv-iso
2019/08/06 14:17:59 Using internal plugin for hyperv-vmcx
2019/08/06 14:17:59 Using internal plugin for oneandone
2019/08/06 14:17:59 Using internal plugin for oracle-oci
2019/08/06 14:17:59 Using internal plugin for profitbricks
2019/08/06 14:17:59 Using internal plugin for googlecompute
2019/08/06 14:17:59 Using internal plugin for qemu
2019/08/06 14:17:59 Using internal plugin for virtualbox-iso
2019/08/06 14:17:59 Using internal plugin for oracle-classic
2019/08/06 14:17:59 Using internal plugin for hyperone
2019/08/06 14:17:59 Using internal plugin for ncloud
2019/08/06 14:17:59 Using internal plugin for null
2019/08/06 14:17:59 Using internal plugin for openstack
2019/08/06 14:17:59 Using internal plugin for scaleway
2019/08/06 14:17:59 Using internal plugin for vmware-vmx
2019/08/06 14:17:59 Using internal plugin for cloudstack
2019/08/06 14:17:59 Using internal plugin for amazon-instance
2019/08/06 14:17:59 Using internal plugin for file
2019/08/06 14:17:59 Using internal plugin for linode
2019/08/06 14:17:59 Using internal plugin for lxd
2019/08/06 14:17:59 Using internal plugin for yandex
2019/08/06 14:17:59 Using internal plugin for amazon-ebssurrogate
2019/08/06 14:17:59 Using internal plugin for amazon-ebsvolume
2019/08/06 14:17:59 Using internal plugin for docker
2019/08/06 14:17:59 Using internal plugin for proxmox
2019/08/06 14:17:59 Using internal plugin for triton
2019/08/06 14:17:59 Using internal plugin for virtualbox-ovf
2019/08/06 14:17:59 Using internal plugin for amazon-ebs
2019/08/06 14:17:59 Using internal plugin for hcloud
2019/08/06 14:17:59 Using internal plugin for tencentcloud-cvm
2019/08/06 14:17:59 Using internal plugin for vagrant
2019/08/06 14:17:59 Using internal plugin for digitalocean
2019/08/06 14:17:59 Using internal plugin for shell
2019/08/06 14:17:59 Using internal plugin for shell-local
2019/08/06 14:17:59 Using internal plugin for windows-shell
2019/08/06 14:17:59 Using internal plugin for chef-solo
2019/08/06 14:17:59 Using internal plugin for inspec
2019/08/06 14:17:59 Using internal plugin for powershell
2019/08/06 14:17:59 Using internal plugin for puppet-masterless
2019/08/06 14:17:59 Using internal plugin for salt-masterless
2019/08/06 14:17:59 Using internal plugin for ansible-local
2019/08/06 14:17:59 Using internal plugin for breakpoint
2019/08/06 14:17:59 Using internal plugin for file
2019/08/06 14:17:59 Using internal plugin for windows-restart
2019/08/06 14:17:59 Using internal plugin for ansible
2019/08/06 14:17:59 Using internal plugin for chef-client
2019/08/06 14:17:59 Using internal plugin for converge
2019/08/06 14:17:59 Using internal plugin for puppet-server
2019/08/06 14:17:59 Using internal plugin for sleep
2019/08/06 14:17:59 Using internal plugin for artifice
2019/08/06 14:17:59 Using internal plugin for compress
2019/08/06 14:17:59 Using internal plugin for digitalocean-import
2019/08/06 14:17:59 Using internal plugin for docker-push
2019/08/06 14:17:59 Using internal plugin for googlecompute-export
2019/08/06 14:17:59 Using internal plugin for vagrant-cloud
2019/08/06 14:17:59 Using internal plugin for checksum
2019/08/06 14:17:59 Using internal plugin for docker-save
2019/08/06 14:17:59 Using internal plugin for docker-tag
2019/08/06 14:17:59 Using internal plugin for vsphere
2019/08/06 14:17:59 Using internal plugin for amazon-import
2019/08/06 14:17:59 Using internal plugin for googlecompute-import
2019/08/06 14:17:59 Using internal plugin for shell-local
2019/08/06 14:17:59 Using internal plugin for vagrant
2019/08/06 14:17:59 Using internal plugin for vsphere-template
2019/08/06 14:17:59 Using internal plugin for alicloud-import
2019/08/06 14:17:59 Using internal plugin for docker-import
2019/08/06 14:17:59 Using internal plugin for manifest
2019/08/06 14:17:59 Detected home directory from env var: /home/mathieu
2019/08/06 14:17:59 Attempting to open config file: /home/mathieu/.packerconfig
2019/08/06 14:17:59 [WARN] Config file doesn't exist: /home/mathieu/.packerconfig
2019/08/06 14:17:59 Packer config: &{DisableCheckpoint:false DisableCheckpointSignature:false PluginMinPort:10000 PluginMaxPort:25000 Builders:map[alicloud-ecs:/usr/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-alicloud-ecs amazon-chroot:/usr/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-chroot amazon-ebs:/usr/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-ebs amazon-ebssurrogate:/usr/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-ebssurrogate amazon-ebsvolume:/usr/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-ebsvolume amazon-instance:/usr/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-instance azure-arm:/usr/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-azure-arm cloudstack:/usr/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-cloudstack digitalocean:/usr/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-digitalocean docker:/usr/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-docker file:/usr/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-file googlecompute:/usr/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-googlecompute hcloud:/usr/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-hcloud hyperone:/usr/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-hyperone hyperv-iso:/usr/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-hyperv-iso hyperv-vmcx:/usr/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-hyperv-vmcx linode:/usr/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-linode lxc:/usr/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-lxc lxd:/usr/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-lxd ncloud:/usr/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-ncloud null:/usr/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-null oneandone:/usr/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-oneandone openstack:/usr/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-openstack oracle-classic:/usr/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-oracle-classic oracle-oci:/usr/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-oracle-oci parallels-iso:/usr/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-parallels-iso parallels-pvm:/usr/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-parallels-pvm profitbricks:/usr/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-profitbricks proxmox:/usr/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-proxmox qemu:/usr/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-qemu scaleway:/usr/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-scaleway tencentcloud-cvm:/usr/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-tencentcloud-cvm triton:/usr/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-triton vagrant:/usr/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-vagrant virtualbox-iso:/usr/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-virtualbox-iso virtualbox-ovf:/usr/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-virtualbox-ovf vmware-iso:/usr/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-vmware-iso vmware-vmx:/usr/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-vmware-vmx yandex:/usr/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-yandex] PostProcessors:map[alicloud-import:/usr/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-alicloud-import amazon-import:/usr/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-amazon-import artifice:/usr/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-artifice checksum:/usr/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-checksum compress:/usr/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-compress digitalocean-import:/usr/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-digitalocean-import docker-import:/usr/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-import docker-push:/usr/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-push docker-save:/usr/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-save docker-tag:/usr/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-tag googlecompute-export:/usr/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-googlecompute-export googlecompute-import:/usr/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-googlecompute-import manifest:/usr/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-manifest shell-local:/usr/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-shell-local vagrant:/usr/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vagrant vagrant-cloud:/usr/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vagrant-cloud vsphere:/usr/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vsphere vsphere-template:/usr/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vsphere-template] Provisioners:map[ansible:/usr/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-ansible ansible-local:/usr/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-ansible-local breakpoint:/usr/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-breakpoint chef-client:/usr/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-chef-client chef-solo:/usr/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-chef-solo converge:/usr/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-converge file:/usr/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-file inspec:/usr/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-inspec powershell:/usr/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-powershell puppet-masterless:/usr/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-puppet-masterless puppet-server:/usr/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-puppet-server salt-masterless:/usr/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-salt-masterless shell:/usr/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-shell shell-local:/usr/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-shell-local sleep:/usr/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-sleep windows-restart:/usr/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-windows-restart windows-shell:/usr/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-windows-shell]}
2019/08/06 14:17:59 Detected home directory from env var: /home/mathieu
2019/08/06 14:17:59 Setting cache directory: /tmp/test-pack/packer_cache
2019/08/06 14:17:59 Detected home directory from env var: /home/mathieu
2019/08/06 14:17:59 ui error: Error initializing core: Failed to interpolate "cert": "{{vault `kv/kvm-06` `svc-sudop`}}": Please make sure that the variable you're referencing has been defined; Packer treats all variables used to interpolate other user varaibles as required.
2019/08/06 14:17:59 [INFO] (telemetry) Finalizing.
Error initializing core: Failed to interpolate "cert": "{{vault `kv/kvm-06` `svc-sudop`}}": Please make sure that the variable you're referencing has been defined; Packer treats all variables used to interpolate other user varaibles as required.
2019/08/06 14:18:00 waiting for all plugin processes to complete...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment