cdk: Unable to get user input in a cdk
program
#25843
Labels
bug
This issue is a bug.
effort/medium
Medium work item – several days of effort
needs-reproduction
This issue needs reproduction.
p2
package/tools
Related to AWS CDK Tools or CLI
Describe the bug
Trying to get user input from stdin through
readline
always ends up withDoes cdk not allow user input from stdin by design?
Expected Behavior
cdk
program accepts user input from stdin.Current Behavior
Reproduction Steps
Put the above snippet anywhere in your cdk program. In my case, I put it before
const app = new cdk.App();
.Then run
cdk synth
orcdk deploy
.Possible Solution
No response
Additional Information/Context
No response
CDK CLI Version
2.69.0
Framework Version
No response
Node.js Version
16.8.0
OS
macOS 12.5
Language
Typescript
Language Version
4.6.3
Other information
No response
The text was updated successfully, but these errors were encountered: