aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJake Buchholz <tomalok@gmail.com>2019-06-03 19:46:29 -0700
committerMike Crute <mike@crute.us>2019-07-05 12:51:09 -0700
commitdbae7521785de26a25437731398f660b40eac770 (patch)
treef8e47a2c057f2336ab2b5a66e25a4c5fcb829474
parentb517dda7b8e66d610172c70ea15ffd9853807f62 (diff)
downloadalpine-ec2-ami-dbae7521785de26a25437731398f660b40eac770.tar.bz2
alpine-ec2-ami-dbae7521785de26a25437731398f660b40eac770.tar.xz
alpine-ec2-ami-dbae7521785de26a25437731398f660b40eac770.zip
tag AMIs and snapshots with additional metadata
-rw-r--r--packer.conf9
1 files changed, 8 insertions, 1 deletions
diff --git a/packer.conf b/packer.conf
index cfe3086..f7e1548 100644
--- a/packer.conf
+++ b/packer.conf
@@ -39,7 +39,14 @@ builders = [
39 ami_name = "{{user `ami_name`}}" 39 ami_name = "{{user `ami_name`}}"
40 ami_description = "{{user `ami_desc`}}" 40 ami_description = "{{user `ami_desc`}}"
41 tags { 41 tags {
42 Name = "{{user `ami_name`}}" 42 Name = "{{user `ami_name`}}"
43 profile = "{{user `profile`}}"
44 profile_build = "{{user `profile_build`}}"
45 version = "{{user `version`}}"
46 release = "{{user `release`}}"
47 arch = "{{user `arch`}}"
48 revision = "{{user `revision`}}"
49 end_of_life = "{{user `end_of_life`}}"
43 } 50 }
44 ami_virtualization_type = "hvm" 51 ami_virtualization_type = "hvm"
45 ami_architecture = "{{user `build_arch`}}" # need packer 1.4.1 52 ami_architecture = "{{user `build_arch`}}" # need packer 1.4.1