Packer
Table of Contents
Overview
Reference
Builders
amazon-ebs
Templates
Comments
- Prefix a root level key with an underscore
Functions
build_name
- The name of the build being run.
build_type
- The type of the builder being used currently.
isotime [FORMAT]
- UTC time, which can be formatted. See more examples below in the isotime format reference.
lower
- Lowercases the string.
pwd
- The working directory while executing Packer.
template_dir
- The directory to the template for the build.
timestamp
- The current Unix timestamp in UTC.
uuid
- Returns a random UUID.
upper
- Uppercases the string.
user
- Specifies a user variable.
Variables
{{function}}
- The result of the function
{{env `VARIABLE`}}
- Environment variable named
VARIABLE
{{user `variable`}}
User variable named
variable
- These variables are defined in
variables
section like following:
- These variables are defined in
{{.Variable}}
Template variable named
Variable
- These variables are defined by
Packer
. - They are specified for each option like following:
- These variables are defined by