Skip to content

Commit

Permalink
feat: temp
Browse files Browse the repository at this point in the history
  • Loading branch information
badmintoncryer committed Dec 27, 2023
1 parent 9ff8283 commit 98a96ad
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,11 @@ cluster.addCapacity('bottlerocket-asg', {
minCapacity: 2,
instanceType: new ec2.InstanceType('p3.2xlarge'),
machineImage: new ecs.BottleRocketImage({
variant: ecs.BottlerocketEcsVariant.AWS_ECS_1_NVIDIA,
variant: ecs.BottlerocketEcsVariant.AWS_ECS_2_NVIDIA,
}),
vpcSubnets: {
availabilityZones: ['us-east-1c'],
},
});

new integ.IntegTest(app, 'aws-ecs-bottlerocket-nvidia-ami', {
Expand Down
4 changes: 2 additions & 2 deletions packages/aws-cdk-lib/aws-ecs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -229,9 +229,9 @@ declare const cluster: ecs.Cluster;

cluster.addCapacity('bottlerocket-asg', {
minCapacity: 2,
instanceType: new ec2.InstanceType('c5.large'),
instanceType: new ec2.InstanceType('p3.2xlarge'),
machineImage: new ecs.BottleRocketImage({
variant: ecs.BottlerocketEcsVariant.AWS_ECS_1_NVIDIA,
variant: ecs.BottlerocketEcsVariant.AWS_ECS_2_NVIDIA,
}),
});
```
Expand Down

0 comments on commit 98a96ad

Please sign in to comment.