Skip to content

Commit

Permalink
chore(ecs-cluster): remove comment from the ecs cluster example (aws-…
Browse files Browse the repository at this point in the history
  • Loading branch information
piradeepk authored and Noah Litov committed Jul 5, 2019
1 parent 538a9e8 commit 42834c5
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions typescript/ecs/cluster/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,6 @@ class ECSCluster extends cdk.Stack {

const cluster = new ecs.Cluster(this, 'EcsCluster', { vpc });
cluster.addAutoScalingGroup(asg);

/**
* This lines seem to break the synth with the following error:
* 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]
* This will be investigated and code will be left for now. This will break build however.
*/

cluster.addCapacity('DefaultAutoScalingGroup', {
instanceType: ec2.InstanceType.of(ec2.InstanceClass.T2, ec2.InstanceSize.MICRO)
});
Expand Down

0 comments on commit 42834c5

Please sign in to comment.