Skip to content

Commit 8ec63ed

Browse files
piradeepkNoah Litov
authored andcommitted
chore(ecs-cluster): remove comment from the ecs cluster example (aws-samples#67)
1 parent 8c81a37 commit 8ec63ed

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

typescript/ecs/cluster/index.ts

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,6 @@ class ECSCluster extends cdk.Stack {
1919

2020
const cluster = new ecs.Cluster(this, 'EcsCluster', { vpc });
2121
cluster.addAutoScalingGroup(asg);
22-
23-
/**
24-
* This lines seem to break the synth with the following error:
25-
* Error: There is already a Construct with name 'SsmParameterValue:/aws/service/ecs/optimized-ami/amazon-linux-2/recommended/image_id:C96584B6-F00A-464E-AD19-53AFF4B05118.Parameter' in ECSCluster [MyFirstEcsCluster]
26-
* This will be investigated and code will be left for now. This will break build however.
27-
*/
28-
2922
cluster.addCapacity('DefaultAutoScalingGroup', {
3023
instanceType: ec2.InstanceType.of(ec2.InstanceClass.T2, ec2.InstanceSize.MICRO)
3124
});

0 commit comments

Comments
 (0)