Also check the manifest post-processor. It will writ out a json with
information about the build, such as region and ami-id with those you can
use the aws cli to read any properties of the AMI.

On 26 April 2018 at 13:16, Alvaro Miranda Aguilera <[email protected]>
wrote:

> if I understand this correctly, you want to use that information during
> the packer build.
>
> looks very similar to a var file, it may need some format update, but you
> could check into the var file
>
> Alvaro.
>
> On Thu, Apr 26, 2018 at 10:59 AM, <[email protected]> wrote:
>
>> **Help wanted/Guidance**
>>
>> _Tools we are using_
>> + Packer
>> + AWS
>> + Jenkins
>>
>> After packer builds an image in AWS, besides the default information
>> packer outputs about the AMI, we are trying to add more information to that
>> output like the custom tags we have added to help identify the AMI in AWS.
>>
>> **_Goal:_** The plan is to reference that file within Jenkins and use it
>> for another part of the build.
>>
>> Had a look and have not been able to find a way to do this. Has anyone
>> done this before or is there a way to add more information to that default
>> output.
>>
>> An example of what the file might look like:
>>
>>
>>> {
>>   uuid: 00000000
>>   ...
>>   ..
>>   environment:  development
>>   version:  3.0.0
>>   software:  jenkins
>> }
>>
>>>
>>>
>> --
>> This mailing list is governed under the HashiCorp Community Guidelines -
>> https://www.hashicorp.com/community-guidelines.html. Behavior in
>> violation of those guidelines may result in your removal from this mailing
>> list.
>>
>> GitHub Issues: https://github.com/mitchellh/packer/issues
>> IRC: #packer-tool on Freenode
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "Packer" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> To view this discussion on the web visit https://groups.google.com/d/ms
>> gid/packer-tool/4a81de36-eb63-4e3b-a9ce-700a08c65125%40googlegroups.com
>> <https://groups.google.com/d/msgid/packer-tool/4a81de36-eb63-4e3b-a9ce-700a08c65125%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> --
> Alvaro
>
> --
> This mailing list is governed under the HashiCorp Community Guidelines -
> https://www.hashicorp.com/community-guidelines.html. Behavior in
> violation of those guidelines may result in your removal from this mailing
> list.
>
> GitHub Issues: https://github.com/mitchellh/packer/issues
> IRC: #packer-tool on Freenode
> ---
> You received this message because you are subscribed to the Google Groups
> "Packer" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/packer-tool/CAHqq0eyoQnyALfJk03rs%2BmObkGP%2BQpq7LaS8%
> 3DiJA5h3LGXHv2A%40mail.gmail.com
> <https://groups.google.com/d/msgid/packer-tool/CAHqq0eyoQnyALfJk03rs%2BmObkGP%2BQpq7LaS8%3DiJA5h3LGXHv2A%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>

-- 
This mailing list is governed under the HashiCorp Community Guidelines - 
https://www.hashicorp.com/community-guidelines.html. Behavior in violation of 
those guidelines may result in your removal from this mailing list.

GitHub Issues: https://github.com/mitchellh/packer/issues
IRC: #packer-tool on Freenode
--- 
You received this message because you are subscribed to the Google Groups 
"Packer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/packer-tool/CALz9Rt-N29oU68pUxK0g7cpqBfd%3Dag7zqAe2NR6rf-J4-ZG31w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to