-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Closed
Labels
@aws-cdk/coreRelated to core CDK functionalityRelated to core CDK functionalitybugThis issue is a bug.This issue is a bug.effort/smallSmall work item – less than a day of effortSmall work item – less than a day of effortp1package/toolsRelated to AWS CDK Tools or CLIRelated to AWS CDK Tools or CLI
Description
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
tinovyatkin and JerryLeam
Metadata
Metadata
Assignees
Labels
@aws-cdk/coreRelated to core CDK functionalityRelated to core CDK functionalitybugThis issue is a bug.This issue is a bug.effort/smallSmall work item – less than a day of effortSmall work item – less than a day of effortp1package/toolsRelated to AWS CDK Tools or CLIRelated to AWS CDK Tools or CLI