-
Notifications
You must be signed in to change notification settings - Fork 1
/
create-deployment-group.json
56 lines (56 loc) · 1.83 KB
/
create-deployment-group.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
54
55
56
{
"applicationName": "nodejs-hello-world-codedeploy",
"deploymentGroupName": "nodejs-hello-world-deployment-group",
"deploymentConfigName": "CodeDeployDefault.ECSAllAtOnce",
"serviceRoleArn": "arn:aws:iam::548754742764:role/CodeDeployRoleForNodeJSHelloWorld",
"autoRollbackConfiguration": {
"enabled": true,
"events": [
"DEPLOYMENT_FAILURE"
]
},
"deploymentStyle": {
"deploymentType": "BLUE_GREEN",
"deploymentOption": "WITH_TRAFFIC_CONTROL"
},
"blueGreenDeploymentConfiguration": {
"terminateBlueInstancesOnDeploymentSuccess": {
"action": "TERMINATE",
"terminationWaitTimeInMinutes": 30
},
"deploymentReadyOption": {
"actionOnTimeout": "STOP_DEPLOYMENT",
"waitTimeInMinutes": 15
}
},
"loadBalancerInfo": {
"targetGroupPairInfoList": [
{
"targetGroups": [
{
"name": "example-target-group"
},
{
"name": "example-target-group-2"
}
],
"prodTrafficRoute": {
"listenerArns": [
"arn:aws:elasticloadbalancing:us-east-1:548754742764:listener/app/example-elb/032e1db0729e6a4d/4e6cc15529fee718"
]
},
"testTrafficRoute": {
"listenerArns": [
"arn:aws:elasticloadbalancing:us-east-1:548754742764:listener/app/example-elb/032e1db0729e6a4d/9c74c6a5f93e618a"
]
}
}
]
},
"ecsServices": [
{
"serviceName": "example-ecs-service",
"clusterName": "example-ecs-cluster"
}
]
}