bootstrap-vz/bootstrapvz/providers/ec2/manifest-schema-s3.yml
Peter Wagner 441786e8e1 Support ca-central-1
AMI? More like eh-MI
2016-12-09 08:39:17 +01:00

37 lines
815 B
YAML

---
$schema: http://json-schema.org/draft-04/schema#
title: EC2 manifest for instance store AMIs
type: object
properties:
provider:
type: object
properties:
credentials:
type: object
properties:
certificate: {type: string}
private-key: {type: string}
user-id:
type: string
pattern: (^arn:aws:iam::\d*:user/\w.*$)|(^\d{4}-\d{4}-\d{4}$)
bucket: {type: string}
region: {$ref: '#/definitions/aws-region'}
required:
- bucket
- region
definitions:
aws-region:
enum:
- ap-northeast-1
- ap-northeast-2
- ap-southeast-1
- ap-southeast-2
- ca-central-1
- eu-central-1
- eu-west-1
- sa-east-1
- us-east-1
- us-gov-west-1
- us-west-1
- us-west-2
- cn-north-1