Skip to content

(cli): --no-notices not reflected in synth #19357

@jaecktec

Description

@jaecktec

What is the problem?

When executing synth a call to cli.cdk.dev-tools.aws.dev is still being executed even though --no-notices was specified.
This causes builds in locked down environments to be super slow

Reproduction Steps

CDK_HOME=$(mktemp -d) NODE_DEBUG=http npx cdk synth --no-notices

What did you expect to happen?

log does not print

HTTP 65935: createConnection cli.cdk.dev-tools.aws.dev:443::::::::::::::::::::: 

so no connection was established

What actually happened?

log does print

HTTP 65935: createConnection cli.cdk.dev-tools.aws.dev:443::::::::::::::::::::: 

CDK CLI Version

2.15.0 (build 151055e)

Framework Version

No response

Node.js Version

2.15.0 (build 151055e)

OS

macos

Language

Typescript

Language Version

2.15.0 (build 151055e)

Other information

related to #19201

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugThis issue is a bug.package/toolsRelated to AWS CDK Tools or CLIresponse-requestedWaiting on additional info and feedback. Will move to "closing-soon" in 7 days.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions