This repository was archived by the owner on Jan 27, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathbeanstalkConfig.js
More file actions
107 lines (107 loc) · 2.63 KB
/
beanstalkConfig.js
File metadata and controls
107 lines (107 loc) · 2.63 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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
module.exports = ({ zipPath, environmentName }) => ({
archiveFilePath: zipPath,
environmentName,
// eslint-disable-next-line
awsStackName: '64bit Amazon Linux 2017.03 v2.7.2 running Multi-container Docker 17.03.1-ce (Generic)',
// http://docs.aws.amazon.com/elasticbeanstalk/latest/dg/command-options-general.html
beanstalkConfig: [{
Namespace: 'aws:autoscaling:asg',
OptionName: 'Availability Zones',
Value: 'Any 1',
},
{
Namespace: 'aws:autoscaling:asg',
OptionName: 'Availability Zones',
Value: 'Any 1',
},
{
Namespace: 'aws:autoscaling:asg',
OptionName: 'MinSize',
Value: '1',
},
{
Namespace: 'aws:autoscaling:asg',
OptionName: 'MaxSize',
Value: '1',
},
{
Namespace: 'aws:autoscaling:launchconfiguration',
OptionName: 'EC2KeyName',
Value: 'gw2armory-ssh',
},
{
Namespace: 'aws:autoscaling:launchconfiguration',
OptionName: 'IamInstanceProfile',
Value: 'aws-elasticbeanstalk-ec2-role',
},
{
Namespace: 'aws:autoscaling:launchconfiguration',
OptionName: 'InstanceType',
Value: 't2.micro',
},
{
Namespace: 'aws:ec2:vpc',
OptionName: 'VPCId',
Value: 'vpc-7857f31c',
},
{
Namespace: 'aws:ec2:vpc',
OptionName: 'AssociatePublicIpAddress',
Value: 'true',
},
{
Namespace: 'aws:ec2:vpc',
OptionName: 'Subnets',
Value: 'subnet-75f4db5e,subnet-e235d194,subnet-02e5363f,subnet-851e20dc',
},
{
Namespace: 'aws:elasticbeanstalk:application',
OptionName: 'Application Healthcheck URL',
Value: '/healthcheck',
},
{
Namespace: 'aws:elasticbeanstalk:environment',
OptionName: 'ServiceRole',
Value: 'aws-elasticbeanstalk-service-role',
},
{
Namespace: 'aws:elasticbeanstalk:environment',
OptionName: 'EnvironmentType',
Value: 'LoadBalanced',
},
{
Namespace: 'aws:elb:listener:443',
OptionName: 'SSLCertificateId',
Value: 'arn:aws:acm:us-east-1:521573301669:certificate/07c5ada9-db12-4e2d-ba97-69b36d41cf9e',
},
{
Namespace: 'aws:elb:listener:443',
OptionName: 'ListenerProtocol',
Value: 'HTTPS',
},
{
Namespace: 'aws:elb:listener:443',
OptionName: 'InstancePort',
Value: '80',
},
{
Namespace: 'aws:elb:listener:443',
OptionName: 'InstanceProtocol',
Value: 'HTTP',
},
{
Namespace: 'aws:elb:listener:80',
OptionName: 'ListenerEnabled',
Value: 'true',
},
{
Namespace: 'aws:elasticbeanstalk:sns:topics',
OptionName: 'Notification Protocol',
Value: 'email',
},
{
Namespace: 'aws:elasticbeanstalk:sns:topics',
OptionName: 'Notification Endpoint',
Value: '[email protected]',
}],
});