Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cli: plugin option set in cdk.json is ignored #32814

Open
1 task
wiget opened this issue Jan 9, 2025 · 0 comments
Open
1 task

cli: plugin option set in cdk.json is ignored #32814

wiget opened this issue Jan 9, 2025 · 0 comments
Assignees
Labels
@aws-cdk/core Related to core CDK functionality bug This issue is a bug. effort/small Small work item – less than a day of effort p1 package/tools Related to AWS CDK Tools or CLI

Comments

@wiget
Copy link

wiget commented Jan 9, 2025

Describe the bug

The plugin option in the project's cdk.json file is ignored.

Regression Issue

  • Select this option if this issue appears to be a regression.

Last Known Working CDK Version

2.173.4

Expected Behavior

The plugin option in the project's cdk.json file is honoured and defined plugins are used to obtain credentials.

Current Behavior

The plugin option in the project's cdk.json file is ignored.

Reproduction Steps

npx cdk init app --language=typescript --generate-only
jq '. += {"plugin": ["dummy"]}' < cdk.json > edited-cdk.json
mv edited-cdk.json cdk.json
npx cdk --debug -vvv --no-color version

In the output, there will be merged settings section. Look for plugin. If it's [] then the bug is present.

Possible Solution

No response

Additional Information/Context

No response

CDK CLI Version

2.174.0

Framework Version

No response

Node.js Version

22.11.0

OS

Ubuntu 24.04

Language

TypeScript

Language Version

Typescript (5.7.2)

Other information

No response

@wiget wiget added bug This issue is a bug. needs-triage This issue or PR still needs to be triaged. labels Jan 9, 2025
@github-actions github-actions bot added the package/tools Related to AWS CDK Tools or CLI label Jan 9, 2025
@kaizencc kaizencc self-assigned this Jan 9, 2025
@khushail khushail added p1 @aws-cdk/core Related to core CDK functionality effort/small Small work item – less than a day of effort and removed needs-triage This issue or PR still needs to be triaged. labels Jan 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
@aws-cdk/core Related to core CDK functionality bug This issue is a bug. effort/small Small work item – less than a day of effort p1 package/tools Related to AWS CDK Tools or CLI
Projects
None yet
Development

No branches or pull requests

3 participants