2014-07-05 20:01:20 +02:00
|
|
|
---
|
|
|
|
$schema: http://json-schema.org/draft-04/schema#
|
|
|
|
title: EC2 manifest
|
|
|
|
type: object
|
|
|
|
properties:
|
2016-09-22 17:19:40 +01:00
|
|
|
tags:
|
|
|
|
type: object
|
|
|
|
minProperties: 1
|
2014-07-05 20:01:20 +02:00
|
|
|
provider:
|
|
|
|
type: object
|
|
|
|
properties:
|
2015-12-13 14:54:06 +01:00
|
|
|
description: {type: string}
|
2017-12-20 23:47:05 -08:00
|
|
|
profile: {type: string}
|
2014-07-05 20:01:20 +02:00
|
|
|
credentials:
|
|
|
|
type: object
|
|
|
|
properties:
|
|
|
|
access-key: {type: string}
|
|
|
|
secret-key: {type: string}
|
|
|
|
virtualization:
|
|
|
|
enum:
|
2016-09-22 17:19:40 +01:00
|
|
|
- pvm
|
|
|
|
- hvm
|
2014-11-29 13:46:57 -08:00
|
|
|
enhanced_networking:
|
|
|
|
enum:
|
2016-09-22 17:19:40 +01:00
|
|
|
- none
|
|
|
|
- simple
|
2018-01-31 20:25:15 -08:00
|
|
|
amzn-driver-version:
|
|
|
|
type: string
|
|
|
|
pattern: "^([0-9]+\\.?){3}$"
|
2018-03-15 17:46:33 +02:00
|
|
|
encrypted: { type: boolean }
|
|
|
|
kms_key_id: { type: string }
|
2016-06-04 18:48:09 +02:00
|
|
|
required: [description, virtualization]
|
2014-07-05 20:01:20 +02:00
|
|
|
system:
|
|
|
|
type: object
|
|
|
|
properties:
|
|
|
|
bootloader:
|
|
|
|
type: string
|
|
|
|
enum:
|
2016-09-22 17:19:40 +01:00
|
|
|
- pvgrub
|
|
|
|
- grub
|
|
|
|
- extlinux
|
2014-07-05 20:01:20 +02:00
|
|
|
volume:
|
|
|
|
type: object
|
|
|
|
properties:
|
|
|
|
backing:
|
|
|
|
enum:
|
2016-09-22 17:19:40 +01:00
|
|
|
- ebs
|
|
|
|
- s3
|
2014-07-05 20:01:20 +02:00
|
|
|
partitions:
|
|
|
|
type: object
|
|
|
|
properties:
|
|
|
|
type:
|
|
|
|
enum:
|
2016-09-22 17:19:40 +01:00
|
|
|
- none
|
|
|
|
- msdos
|
|
|
|
- gpt
|
2014-07-05 20:01:20 +02:00
|
|
|
required: [backing]
|