From the course: Learning HashiCorp Packer
Unlock this course with a free trial
Join today to access over 25,500 courses taught by industry experts.
Solution: Inspect a Packer template - Packer Tutorial
From the course: Learning HashiCorp Packer
Solution: Inspect a Packer template
(upbeat music) - [Instructor] I've got open here the example files for this challenge and what we need to do now is inspect them to learn a bit more about them. So I've opened the first one here and let's use the Packer inspect command to learn a bit about it. So this template has a description tells us it's here for building a Kibana image. It has three optional variables, and on default to using the environment variables to supply them if you haven't sent them in yourself. It uses the Azure RM builder and the provisioner is Shell. Let's clear that off and take a look at the next one. This is a much bigger file and there's a lot going on here. So let's see what Packer tells us about it. So this one also has three optional variables that are required and we'll default to the environment variables if you don't supply them. It's using the Amazon EBS builder and the provision is PowerShell windows restart and then…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.