Skip to content

Commit

Permalink
added cluster capacity for further investigation
Browse files Browse the repository at this point in the history
  • Loading branch information
Zvika Badalov committed Jul 3, 2019
1 parent 07c71f4 commit 4a20002
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions typescript/ecs/cluster/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@ class ECSCluster extends cdk.Stack {
/**
* 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]
* Hence, commenting out
* 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)
// });
cluster.addCapacity('DefaultAutoScalingGroup', {
instanceType: ec2.InstanceType.of(ec2.InstanceClass.T2, ec2.InstanceSize.MICRO)
});
}
}

Expand Down

0 comments on commit 4a20002

Please sign in to comment.