Open
Description
Describe the bug
outputConfigCommand
does not output anything if props.mastersRole
is not set.
Regression Issue
- Select this option if this issue appears to be a regression.
Last Known Working CDK Version
No response
Expected Behavior
Output config command
Current Behavior
const outputConfigCommand = (props.outputConfigCommand ?? true) && props.mastersRole;
if (outputConfigCommand) {
const postfix = commonCommandOptions.join(' ');
new CfnOutput(this, 'ConfigCommand', { value: `${updateConfigCommandPrefix} ${postfix}` });
new CfnOutput(this, 'GetTokenCommand', { value: `${getTokenCommandPrefix} ${postfix}` });
}
Reproduction Steps
Set outputConfigCommand
to true
Possible Solution
No response
Additional Information/Context
Seems to be broken in 51f0193
CDK CLI Version
2.171.0 (build 4957967)
Framework Version
No response
Node.js Version
20
OS
Mac
Language
TypeScript
Language Version
No response
Other information
No response