/hashicorp-packer

hashicorp-packer

Primary LanguageHCLGNU General Public License v3.0GPL-3.0

✍️ Feel free to contact and collaborate with us. You are welcome to contribute in our forum to build a better tomorrow.

For Terraform professional consultancy and Technical advisory please feel free to drop a note to som@e2eSolutionArchitect.com

Click here for Terraform articles

e2esa-bootcamp-posters-01

HCP Packer playlist

Click here for list of upcoming trainings.

HELPLINE(https://e2esolutionarchitect.com/helpline/)

Join the Slack channel

A New Version of HashiCorp Infrastructure Automation Certification Is Coming Soon. HashiCorp Certified: Terraform Associate (003)

e2eSA Online Video Tutorials Click here

Hashicorp Cloud Platform (HCP) click here

Terraform Cloud click here

Install Packer

  • Download packer for your windows/Mac/Linux system click here

For Windows

  • Unzip the file and save the .exe in a folder.
  • Go to 'environment variable' and under PATH add an entry for the path of the folder where the packer.exe exist

Browse to the directory where the *.pkr.hcl exists

Initiate, Validate & Build Packer

Do not miss the '.' at end of the command


# Initiate 
packer init .

# Validate
packer validate .

# Build
packer build .

Format code in packer

packer fmt .