Technical requirements
In this chapter, we will make use of the HCP SaaS platform, which will require a free account to follow the examples. We will discuss paid features also, which can be tested with a free trial from HashiCorp if you don’t have the budget for paid support. The sample code for this chapter also uses features recently added to Packer, so make sure to use the latest versions of Packer and also the latest AWS plugin. If an older version of the plugins is cached in your home directory, it may be wise to move or delete any old versions from $PACKER_HOME_DIR/.packer.d
, which defaults to $HOME/.packer.d
. Otherwise, we will show how to upgrade providers with packer
init –upgrade
.
The sample code for this chapter uses the Amazon plugin, which can be browsed at the GitHub repo here: https://github.com/hashicorp/packer-plugin-amazon.
Documentation for HCP Packer and the API are located here. Make sure to check the latest documentation: https://developer...