File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
packages/cdk-blue-green-container-deployment Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -46,6 +46,7 @@ import { ImageRepository } from '@cloudcomponents/cdk-container-registry';
46
46
import {
47
47
EcsService ,
48
48
DummyTaskDefinition ,
49
+ EcsDeploymentConfig ,
49
50
EcsDeploymentGroup ,
50
51
PushImageProject ,
51
52
} from ' @cloudcomponents/cdk-blue-green-container-deployment' ;
@@ -125,7 +126,7 @@ export class BlueGreenContainerDeploymentStack extends Stack {
125
126
ecsService .connections .allowFrom (loadBalancer , Port .tcp (80 ));
126
127
ecsService .connections .allowFrom (loadBalancer , Port .tcp (8080 ));
127
128
128
- const ecsDeploymentConfiguration = new EcsDeploymentConfiguration (
129
+ const deploymentConfig = new EcsDeploymentConfig (
129
130
this ,
130
131
' DeploymentConfig' ,
131
132
{
@@ -151,10 +152,10 @@ export class BlueGreenContainerDeploymentStack extends Stack {
151
152
prodTrafficListener: prodListener ,
152
153
testTrafficListener: testListener ,
153
154
terminationWaitTimeInMinutes: 100 ,
154
- deploymentConfig: ecsDeploymentConfiguration ,
155
+ deploymentConfig ,
155
156
});
156
157
157
- deploymentGroup .node .addDependency (ecsDeploymentConfiguration );
158
+ deploymentGroup .node .addDependency (deploymentConfig );
158
159
159
160
// @see https://github.com/cloudcomponents/cdk-constructs/tree/master/examples/blue-green-container-deployment-example/blue-green-repository
160
161
const repository = new Repository (this , ' CodeRepository' , {
You can’t perform that action at this time.
0 commit comments