forked from vfarcic/crossplane-tutorial
-
Notifications
You must be signed in to change notification settings - Fork 0
/
aws-vm-bigger.yaml
48 lines (48 loc) · 851 Bytes
/
aws-vm-bigger.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
---
apiVersion: ec2.aws.upbound.io/v1beta1
kind: Instance
metadata:
name: my-vm
spec:
forProvider:
ami: ami-052efd3df9dad4825
region: us-east-1
instanceType: t2.micro
subnetIdRef:
name: my-vm
tags:
Name: my-vm
---
apiVersion: ec2.aws.upbound.io/v1beta1
kind: InstanceState
metadata:
name: my-vm
spec:
forProvider:
region: us-east-1
instanceIdRef:
name: my-vm
state: running
---
apiVersion: ec2.aws.upbound.io/v1beta1
kind: VPC
metadata:
name: my-vm
spec:
forProvider:
region: us-east-1
cidrBlock: 10.0.0.0/16
enableDnsSupport: true
---
apiVersion: ec2.aws.upbound.io/v1beta1
kind: Subnet
metadata:
name: my-vm
spec:
forProvider:
region: us-east-1
availabilityZone: us-east-1a
cidrBlock: 10.0.0.0/24
vpcIdRef:
name: my-vm
mapPublicIpOnLaunch: true