You can already do this using an "Execute Shell" script. You need to use the Cloudformation outputs to spit out the InstanceID and the Region. I'm doing this using the following

export AWS_ACCESS_KEY_ID=xxx
export AWS_SECRET_ACCESS_KEY=xxx
aws ec2 create-image -instance-id $amibuilder_InstanceID --name some_ami_`date +%y%m%d%H%M` -description "Some AMI Image `date +%y%m%d%H%M`" --region $amibuilder_AWSRegion --debug

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to