This repository has been archived by the owner on Jan 19, 2022. It is now read-only.
/
sample-project.yaml
79 lines (79 loc) · 1.8 KB
/
sample-project.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
dev:
ec2:
auto_scaling:
desired: 1
max: 3
min: 0
tags:
Role: docker
Apps: test
Env: dev
parameters:
KeyName: default
InstanceType: t2.micro
block_devices:
- DeviceName: /dev/sda1
VolumeSize: 10
- DeviceName: /dev/sdf
VolumeSize: 10
security_groups:
AnotherSG:
- IpProtocol: tcp
FromPort: 443
ToPort: 443
SourceSecurityGroupName:
Ref: BaseHostSG
BaseHostSG:
- IpProtocol: tcp
FromPort: 22
ToPort: 22
CidrIp: 0.0.0.0/0
- IpProtocol: tcp
FromPort: 80
ToPort: 80
CidrIp: 0.0.0.0/0
elb:
- name: test-dev-external
hosted_zone: kyrtest.pf.dsd.io.
scheme: internet-facing
listeners:
- LoadBalancerPort: 80
InstancePort: 80
Protocol: TCP
- LoadBalancerPort: 443
InstancePort: 443
Protocol: TCP
- name: test-dev-internal
hosted_zone: kyrtest.pf.dsd.io.
scheme: internal
listeners:
- LoadBalancerPort: 80
InstancePort: 80
Protocol: TCP
s3:
static-bucket-name: moj-test-dev-static
rds:
storage: 5
storage-type: gp2
backup-retention-period: 1
identifier: test-dev
db-name: test
db-master-username: testuser
instance-class: db.t2.micro
multi-az: false
db-engine: postgres
db-engine-version: 9.3.5
ssl:
my-cert:
cert: |
-----BEGIN CERTIFICATE-----
blahblahblah
-----END CERTIFICATE-----
key: |
-----BEGIN RSA PRIVATE KEY-----
blahblahblah
-----END RSA PRIVATE KEY-----
chain: |
-----BEGIN CERTIFICATE-----
blahblahblah
-----END CERTIFICATE-----