mirror of
https://github.com/kevingruesser/bootstrap-vz.git
synced 2025-08-24 23:36:29 +00:00

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.
20 lines
524 B
YAML
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
|