diff --git a/src/constructs/ecs/__snapshots__/ecs-task.test.ts.snap b/src/constructs/ecs/__snapshots__/ecs-task.test.ts.snap index e3ce72c87d..058b979031 100644 --- a/src/constructs/ecs/__snapshots__/ecs-task.test.ts.snap +++ b/src/constructs/ecs/__snapshots__/ecs-task.test.ts.snap @@ -110,7 +110,6 @@ exports[`The GuEcsTask pattern should create the correct resources with lots of "GuStack", "GuEcsTask", "GuDistributionBucketParameter", - "GuSubnetListParameter", ], "gu:cdk:version": "TEST", }, @@ -127,11 +126,6 @@ exports[`The GuEcsTask pattern should create the correct resources with lots of "Description": "SSM parameter containing the S3 bucket name holding distribution artifacts", "Type": "AWS::SSM::Parameter::Value", }, - "ecstestPrivateSubnets": { - "Default": "/account/vpc/primary/subnets/private", - "Description": "A list of private subnets", - "Type": "AWS::SSM::Parameter::Value>", - }, }, "Resources": { "ecstestexecutionfailedC93F511B": { diff --git a/src/constructs/ecs/ecs-task.ts b/src/constructs/ecs/ecs-task.ts index 749f99eaf3..97ec8692c2 100644 --- a/src/constructs/ecs/ecs-task.ts +++ b/src/constructs/ecs/ecs-task.ts @@ -136,7 +136,6 @@ const getContainer = (config: ContainerConfiguration) => { * Note that if your task reliably completes in less than 15 minutes then you should probably use a [[`GuLambda`]] instead. This * pattern was mainly created to work around the 15 minute lambda timeout. * - * If the `subnets` prop is not defined, the task will run in a private subnet by default. */ export class GuEcsTask extends Construct { stateMachine: StateMachine; diff --git a/src/patterns/scheduled-ecs-task.ts b/src/patterns/scheduled-ecs-task.ts index 46d4e735e8..f20195317e 100644 --- a/src/patterns/scheduled-ecs-task.ts +++ b/src/patterns/scheduled-ecs-task.ts @@ -28,7 +28,6 @@ export interface GuScheduledEcsTaskProps extends GuEcsTaskProps { * Note that if your task reliably completes in less than 15 minutes then you should probably use a [[`GuScheduledLambda`]] instead. This * pattern was mainly created to work around the 15 minute lambda timeout. * - * If the `subnets` prop is not defined, the task will run in a private subnet by default. */ export class GuScheduledEcsTask extends GuAppAwareConstruct(GuEcsTask) { constructor(scope: GuStack, id: string, props: GuScheduledEcsTaskProps) {