diff --git a/packages/@aws-cdk/aws-lambda/lib/function.ts b/packages/@aws-cdk/aws-lambda/lib/function.ts index 68002c22c5b4b..8588aff8d9963 100644 --- a/packages/@aws-cdk/aws-lambda/lib/function.ts +++ b/packages/@aws-cdk/aws-lambda/lib/function.ts @@ -1115,7 +1115,7 @@ Environment variables can be marked for removal when used in Lambda@Edge by sett for (const subnetId of subnetIds) { if (publicSubnetIds.has(subnetId) && !allowPublicSubnet) { throw new Error('Lambda Functions in a public subnet can NOT access the internet. ' + - 'If you are aware of this limitation and would still like to place the function int a public subnet, set `allowPublicSubnet` to true'); + 'If you are aware of this limitation and would still like to place the function in a public subnet, set `allowPublicSubnet` to true'); } }