From e9293ed06edd3eb341dad439b58c1cddc7a7c77f Mon Sep 17 00:00:00 2001 From: Paul Caskey Date: Fri, 10 Feb 2017 17:48:18 -0600 Subject: [PATCH] add descriptive name with build number to the AMI --- shibboleth-appliance.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/shibboleth-appliance.json b/shibboleth-appliance.json index a58007e..78d7620 100644 --- a/shibboleth-appliance.json +++ b/shibboleth-appliance.json @@ -11,7 +11,8 @@ "ssh_password": "centos", "region": "us-west-1", "timestamper": "{{timestamp}}", - "outputfile_name": "shibboleth-appliance-centos7" + "outputfile_name": "shibboleth-appliance-centos7", + "build_number": "{{env `BUILD_NUMBER`}}" }, "provisioners": [ { @@ -70,6 +71,7 @@ "access_key": "{{user `aws_access_key`}}", "secret_key": "{{user `aws_secret_key`}}", "region": "{{user `region`}}", + "ami_name": "TIER-Shibb Build: {{user `build_number`}}", "s3_bucket_name": "internet2-tier-ami-import-us-west-1", "tags": { "Description": "packer amazon-import-shibboleth-appliance {{user `timestamper`}}"