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

S3 backed AMIs only work when they are unpartitioned. Remove json schema restriction and add some nicer messages in the validation function
43 lines
846 B
JSON
43 lines
846 B
JSON
{
|
|
"$schema": "http://json-schema.org/draft-04/schema#",
|
|
"title": "EC2 manifest for instance store AMIs",
|
|
"type": "object",
|
|
"properties": {
|
|
"credentials": {
|
|
"type": "object",
|
|
"properties": {
|
|
"certificate": {
|
|
"type": "string"
|
|
},
|
|
"private-key": {
|
|
"type": "string"
|
|
},
|
|
"user-id": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
},
|
|
"image": {
|
|
"type": "object",
|
|
"properties": {
|
|
"bucket": {
|
|
"type": "string"
|
|
},
|
|
"region": {
|
|
"$ref": "#/definitions/aws-region"
|
|
}
|
|
},
|
|
"required": ["bucket", "region"]
|
|
}
|
|
},
|
|
"required": ["image"],
|
|
"definitions": {
|
|
"aws-region": {
|
|
"enum": ["ap-northeast-1", "ap-southeast-1",
|
|
"ap-southeast-2", "eu-west-1",
|
|
"sa-east-1", "us-east-1",
|
|
"us-gov-west-1", "us-west-1",
|
|
"us-west-2", "cn-north-1"]
|
|
}
|
|
}
|
|
}
|