bootstrap-vz/bootstrapvz/plugins/ec2_launch/manifest-schema.yml
Jonh Wendell a5cd6e077d ec2_launch: Allow to deregister the AMI after launching image
If all you want is to test an image or product and to achieve this
you need to generate several images a day, you will end up with
lots of AMI's and snapshots that have no use in the end of the day.

This commit adds the new boolean manifest option "deregister_ami"
that, if True, deletes the recently created AMI and snapshot. So, the
final result will be only the running instance, nothing else.
2015-04-06 14:23:36 -03:00

20 lines
524 B
YAML

---
$schema: http://json-schema.org/draft-04/schema#
title: EC2-launch plugin manifest
type: object
properties:
plugins:
type: object
properties:
ec2_launch:
type: object
properties:
security_group_ids:
type: array
items: {type: string}
uniqueItems: true
instance_type: {type: string}
print_public_ip: {type: string}
tags: {type: object}
deregister_ami: {type: boolean}
additionalProperties: false