Skip to content

❗ NOTICE: CDK CLI will begin to collect anonymous telemetry data on or after 8/8/25 #34892

Open
@kaizencc

Description

@kaizencc

Status

In-Progress

What is the issue?

The CDK team will begin to collect telemetry data on CLI usage on or after August 8, 2025. We do not collect customer content and we anonymize the telemetry we do collect. For more information on what data is collected and why, see the public RFC.

NOTE: Telemetry will NOT be collected for any CDK CLI version released prior to Aug 8, regardless of opt-in/out.

What is the impact?

There will be no visible performance impact to CLI users nor will there be any surface-level changes to how the CLI gets used.

Who is affected?

We will collect anonymous telemetry data from all CDK CLI users unless you opt-out.

How do I resolve this?

To opt out of telemetry collection for a CDK App, run the following command (you must be on CLI version 2.1020.0 or later):

cdk cli-telemetry --disable

This adds a context flag to cdk.context.json: { 'cli-telemetry': false }.

To opt out of telemetry globally, set { 'cli-telemetry': false' } in the context key of your ~/.cdk.json file.
Setting the environment variable CDK_DISABLE_CLI_TELEMETRY=true will also disable telemetry collection in that environment.

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