diff --git a/README.md b/README.md index 0841563..02fe9ea 100644 --- a/README.md +++ b/README.md @@ -9,9 +9,10 @@ npx @guardian/cdk@latest new \ --package-manager npm ``` - [x] Setup the project in CI (https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions) and CD -- [ ] Run the Dockerfile in AWS (via GuCDK) - - [ ] Run the HelloWorld image in AWS +- [x] Run the Dockerfile in AWS (via GuCDK) + - [x] Run the HelloWorld image in AWS - [ ] Run our image in AWS - [ ] Make the repo public - [ ] Publish image to GitHub Packages during CI +- [ ] Run the task on demand - [ ] Profit? \ No newline at end of file diff --git a/lib/interactive-tilemaker.ts b/lib/interactive-tilemaker.ts index 81ba18a..1a2270b 100644 --- a/lib/interactive-tilemaker.ts +++ b/lib/interactive-tilemaker.ts @@ -3,11 +3,9 @@ import { GuStack } from '@guardian/cdk/lib/constructs/core'; import { GuVpc, SubnetType } from '@guardian/cdk/lib/constructs/ec2'; import type { App } from 'aws-cdk-lib'; import { - Cluster, Compatibility, ContainerImage, CpuArchitecture, - FargateService, LogDriver, OperatingSystemFamily, TaskDefinition, @@ -33,8 +31,6 @@ export class InteractiveTilemaker extends GuStack { privateSubnetIds: privateSubnets.map((subnet) => subnet.subnetId), }); - const cluster = new Cluster(this, 'TileMakerCluster', { vpc }); - const task = new TaskDefinition(this, 'TileMakerTask', { compatibility: Compatibility.FARGATE, runtimePlatform: { @@ -50,10 +46,5 @@ export class InteractiveTilemaker extends GuStack { memoryLimitMiB: 2048, logging: LogDriver.awsLogs({streamPrefix: "tile-maker/hello-world"}) }); - - new FargateService(this, 'TileMakerService', { - cluster, - taskDefinition: task, - }); } }