Skip to content

Commit f9a3edd

Browse files
committed
Fix dummy task definition tag variable names
1 parent ce04b55 commit f9a3edd

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

packages/cdk-blue-green-container-deployment/src/__tests__/__snapshots__/dummy-task-definition.test.ts.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ Object {
104104
"Arn",
105105
],
106106
},
107-
"\\",\\"networkMode\\":\\"awsvpc\\",\\"cpu\\":\\"256\\",\\"memory\\":\\"512\\",\\"containerDefinitions\\":[{\\"name\\":\\"sample-website\\",\\"image\\":\\"image\\",\\"portMappings\\":[{\\"hostPort\\":80,\\"protocol\\":\\"tcp\\",\\"containerPort\\":80}]}],\\"tags\\":[]},\\"physicalResourceId\\":{\\"responsePath\\":\\"taskDefinition.taskDefinitionArn\\"}}",
107+
"\\",\\"networkMode\\":\\"awsvpc\\",\\"cpu\\":\\"256\\",\\"memory\\":\\"512\\",\\"containerDefinitions\\":[{\\"name\\":\\"sample-website\\",\\"image\\":\\"image\\",\\"portMappings\\":[{\\"hostPort\\":80,\\"protocol\\":\\"tcp\\",\\"containerPort\\":80}]}]},\\"physicalResourceId\\":{\\"responsePath\\":\\"taskDefinition.taskDefinitionArn\\"}}",
108108
],
109109
],
110110
},

packages/cdk-blue-green-container-deployment/src/dummy-task-definition.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ export class DummyTaskDefinition extends Construct implements IDummyTaskDefiniti
6161
constructor(scope: Construct, id: string, props: DummyTaskDefinitionProps) {
6262
super(scope, id);
6363

64-
this.tags = new TagManager(TagType.KEY_VALUE, 'TagManager');
64+
this.tags = new TagManager(TagType.STANDARD, 'TagManager');
6565

6666
this.executionRole = new Role(this, 'ExecutionRole', {
6767
assumedBy: new ServicePrincipal('ecs-tasks.amazonaws.com'),

0 commit comments

Comments
 (0)