From 7194e929309dc13062251daf9f313a626b51dacc Mon Sep 17 00:00:00 2001 From: Moss Date: Tue, 28 Jan 2020 14:58:05 +0100 Subject: [PATCH] Add template engine variables doc for amazon-chroot --- .../source/docs/builders/amazon-chroot.html.md.erb | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/website/source/docs/builders/amazon-chroot.html.md.erb b/website/source/docs/builders/amazon-chroot.html.md.erb index a09f791ab..dfde177d8 100644 --- a/website/source/docs/builders/amazon-chroot.html.md.erb +++ b/website/source/docs/builders/amazon-chroot.html.md.erb @@ -290,3 +290,14 @@ variables are available: - `SourceAMIOwner` - The source AMI owner ID. - `SourceAMIOwnerName` - The source AMI owner alias/name (for example `amazon`). - `SourceAMITags` - The source AMI Tags, as a `map[string]string` object. + +## Build function template engine variables + +For the build function of [template engine](/docs/templates/engine.html), the following +variables are available: + +- `SourceAMIName` - The source AMI Name (for example + `ubuntu/images/ebs-ssd/ubuntu-xenial-16.04-amd64-server-20180306`) used to + build the AMI. +- `Device` - Root device path. +- `MountPath` - Device mounting path.