Skip to content

Commit a51ab3d

Browse files
Fix command syntax in AWS Lambda deployment guide (#1346)
1 parent e090057 commit a51ab3d

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

docs/src/deployment/aws/lambda.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,16 +23,16 @@ The Lambda stack is also deployed by the [AWS CDK](https://aws.amazon.com/cdk/)
2323
# Install NodeJS dependencies
2424
npm install -g aws-cdk@2.159.1
2525

26-
uv run cdk -- bootstrap # Deploys the CDK toolkit stack into an AWS environment
26+
uv run cdk bootstrap # Deploys the CDK toolkit stack into an AWS environment
2727

2828
# or in specific region
29-
uv run cdk -- bootstrap aws://${AWS_ACCOUNT_ID}/eu-central-1
29+
uv run cdk bootstrap aws://${AWS_ACCOUNT_ID}/eu-central-1
3030
```
3131

3232
2. Pre-Generate CFN template
3333

3434
```bash
35-
uv run cdk -- synth # Synthesizes and prints the CloudFormation template for this stack
35+
uv run cdk synth # Synthesizes and prints the CloudFormation template for this stack
3636
```
3737

3838
3. Update settings (see [intro.md](intro.md))
@@ -57,7 +57,7 @@ The Lambda stack is also deployed by the [AWS CDK](https://aws.amazon.com/cdk/)
5757
4. Deploy
5858

5959
```bash
60-
uv run cdk -- deploy mytiler-lambda-dev # Deploys the stack(s) titiler-lambda-dev in cdk/app.py
60+
uv run cdk deploy mytiler-lambda-dev # Deploys the stack(s) titiler-lambda-dev in cdk/app.py
6161
6262
# Deploy in specific region
6363
AWS_DEFAULT_REGION=eu-central-1 AWS_REGION=eu-central-1 uv run cdk -- deploy mytiler-lambda-dev

0 commit comments

Comments
 (0)