-
Notifications
You must be signed in to change notification settings - Fork 7
/
definition.yaml
107 lines (107 loc) · 3.75 KB
/
definition.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
apiVersion: apiextensions.crossplane.io/v1
kind: CompositeResourceDefinition
metadata:
name: xnetworks.aws.platform.upbound.io
spec:
group: aws.platform.upbound.io
names:
kind: XNetwork
plural: xnetworks
versions:
- name: v1alpha1
served: true
referenceable: true
schema:
openAPIV3Schema:
type: object
properties:
spec:
type: object
properties:
parameters:
description: Network Parameters
properties:
id:
type: string
description: ID of this Network that other objects will use to refer to it.
region:
type: string
description: Region is the region you'd like your resource to be created in.
deletionPolicy:
description: Delete the external resources when the Claim/XR is deleted. Defaults to Delete
enum:
- Delete
- Orphan
type: string
default: Delete
providerConfigName:
description: Crossplane ProviderConfig to use for provisioning this resources
type: string
default: default
vpcCidrBlock:
type: string
description: CIDR block for the VPC
default: 192.168.0.0/16
subnets:
type: array
items:
type: object
properties:
availabilityZone:
type: string
type:
type: string
enum:
- public
- private
cidrBlock:
type: string
description: Subnets to create in the VPC
required:
- availabilityZone
- type
- cidrBlock
default:
- availabilityZone: us-west-2a
type: public
cidrBlock: 192.168.0.0/18
- availabilityZone: us-west-2b
type: public
cidrBlock: 192.168.64.0/18
- availabilityZone: us-west-2a
type: private
cidrBlock: 192.168.128.0/18
- availabilityZone: us-west-2b
type: private
cidrBlock: 192.168.192.0/18
required:
- deletionPolicy
- providerConfigName
- id
- region
- subnets
- vpcCidrBlock
type: object
required:
- parameters
status:
type: object
properties:
vpcId:
type: string
subnetIds:
type: array
items:
type: string
publicSubnetIds:
type: array
items:
type: string
privateSubnetIds:
type: array
items:
type: string
securityGroupIds:
type: array
items:
type: string