forked from infrakit/examples
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmanager.json
53 lines (51 loc) · 1.84 KB
/
manager.json
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
{{/*
Instance plugin config for managers on AWS
*/}}
{
"Plugin": "aws/ec2-instance",
"Properties": {
"Tags": {
"infrakit.clusterName": "{{ var `/cluster/name` }}",
"infrakit.role" : "managers",
"Name": "{{ var `/cluster/name` }}-manager",
"User" : "{{ var "/cluster/tag/user" }}",
"Project" : "{{ var "/cluster/tag/project" }}"
},
"RunInstancesInput": {
"BlockDeviceMappings": null,
"EbsOptimized": null,
"IamInstanceProfile": {
"Arn": "{{ (var `/local/iam`).InstanceProfileArn }}",
"Name": null
},
"ImageId": "{{ var `/local/amiID` }}",
"InstanceType": "{{ var `/cluster/instanceType/manager` }}",
"KeyName": "{{ var `/local/keyName` }}",
"NetworkInterfaces": [
{
"AssociatePublicIpAddress": true,
"DeleteOnTermination": true,
"DeviceIndex": 0,
"Groups": [
"{{ var `/local/securityGroupIDs` }}"
],
"NetworkInterfaceId": null,
"PrivateIpAddress": null, {{/* will be set by plugin if logical id is known */}}
"PrivateIpAddresses": null,
"SecondaryPrivateIpAddressCount": null,
"SubnetId": "{{ var `/local/subnetID` }}"
}
],
"Placement": {
"AvailabilityZone": "{{ var `/local/availabilityZone` }}",
"Tenancy": null
},
"PrivateIpAddress": null,
"RamdiskId": null,
"SecurityGroupIds": null,
"SecurityGroups": null,
"SubnetId": null,
"UserData": null
}
}
}