Skip to content

How to run cdk synthesis?  #567

@kenchoong

Description

@kenchoong

I want to run cdk synth as stated here
https://docs.aws.amazon.com/cdk/v2/guide/cli.html#cli-synth

But when run this

 yarn cdk synth

I get this error:

$ /e/node_modules/.bin/cdk synthesize

--app is required either in command-line, in cdk.json or in ~/.cdk.json
error Command failed with exit code 1.

Then I figured out this plugin only 2 command is available, which is deploy and destroy.

Any chance I can run cdk synth ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions