Skip to content

[ERROR] cdk:deploy #29

@mlevkov

Description

@mlevkov

Hello,

Continued to test the deployment process.
I stumbled upon another error:

❯ task cdk:deploy
task: [cdk:build-lambda] mkdir -p src/dist
task: [cdk:build-lambda] pip install --quiet --target src/dist -r src/lambda_functions/metrics/requirements.txt

[notice] A new release of pip is available: 24.3.1 -> 25.0.1
[notice] To update, run: python3.11 -m pip install --upgrade pip
task: [cdk:build-lambda] cp -r src/lambda_functions/* src/dist
task: [cdk:build-lambda] cd src/dist && zip -qqr ../dist_lambda.zip .
task: [cdk:build-lambda] rm -rf src/dist
task: [cdk:deploy] cdk deploy --all --require-approval never --context batch-ffmpeg:lustre-fs:enable=true
error: unexpected argument '--all' found

  tip: to pass '--all' as a value, use '-- --all'

Usage: cdk deploy [OPTIONS] [-- <EXTRA_ARGUMENTS>...] <COMMAND>

For more information, try '--help'.
task: Failed to run task "cdk:deploy": exit status 2

note that --all is not an acceptable flag

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions