-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathmanifest.yaml
More file actions
83 lines (83 loc) · 2.39 KB
/
manifest.yaml
File metadata and controls
83 lines (83 loc) · 2.39 KB
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
name: aws-cluster-nodes
description: |
Creates an ec2 bastion instance in AWS with an external and internal load balancer, and a route 53 record entry.
variables:
aws_access_key:
sensitive: true
type: string
optional: false
description: "aws API access key"
aws_secret_key:
sensitive: true
type: string
optional: false
description: "aws API secret key"
aws_region:
type: string
optional: false
description: "The region the ec2 instance would be created"
aws_ami:
type: string
optional: false
description: "The image of the ec2 instance"
aws_ssh_user:
type: string
optional: false
description: "The user need to initally ssh into an instance i.e ubuntu"
aws_security_group:
type: string
optional: false
description: "The security group needed for an ec2 instance"
aws_vpc:
type: string
optional: false
description: "The vpc of where the target group is located"
aws_volume_size:
type: integer
optional: false
description: "The volume size of a node"
aws_volume_type:
type: string
default: gp3
description: "The volume type of a node"
aws_volume_encrypted:
type: boolean
default: false
description: "The volume encryption configuration of a node"
aws_volume_iops:
type: integer
default: 3000
description: "The volume iops configuration of a node"
aws_subnet:
type: string
optional: false
description: "The subnet where the ec2 instance and the load balancer is created"
instance_type:
type: string
optional: false
description: "What size ec2 instance to use for the nodes."
node_count:
type: integer
optional: false
description: "How many server nodes should be created."
bastion_ip:
type: string
optional: true
description: "Public IP address of the bastion node"
bastion_private_ip:
type: string
optional: true
description: "Private IP address of the bastion node"
airgap_setup:
type: boolean
default: false
description: "Boolean that when set, will create airgap nodes rather regular cluster nodes."
proxy_setup:
type: boolean
default: false
description: "Boolean that when set, will create proxied nodes rather regular cluster nodes."
commands:
- module: pools
- command: "echo \"$CORRAL_corral_user_public_key\" >> /$(whoami)/.ssh/authorized_keys"
node_pools:
- bastion