You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
No crash on failed deploy with just the error displayed
Actual Behavior
Crash on deploy failure after displaying the error.
187 docker_image.nginxImage: Creating...
187 ╷
│ Error: failed to create Docker client: Error pinging Docker server, please make sure that npipe:////./pipe/docker_engine is reachable and has a '_ping' endpoint. Error: error during connect: in the default daemon configuration on Windows, the docker client must be run with elevated privileges to connect: Head "http://%2F%2F.%2Fpipe%2Fdocker_engine/_ping": open //./pipe/docker_engine: The system cannot find the file specified.
│
│ with docker_image.nginxImage (nginxImage),
│ on cdk.tf.json line 46, in resource.docker_image.nginxImage (nginxImage):
│ 46: }
│
╵
undefined
undefined
Collecting Debug Information...
This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason:
Invoking Terraform CLI failed with exit code 1
(node:33900) PromiseRejectionHandledWarning: Promise rejection was handled asynchronously (rejection id: 11)
(Use `node --trace-warnings ...` to show where the warning was created)
Debug Information:
language: typescript
cdktn-cli: 0.24.0-pre.91
node: v22.22.2
cdktn: 0.23.1
cdktf: null
constructs: 10.6.0
jsii: null
terraform: 1.14.3
arch: x64
os: win32 10.0.26200
Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
If you are interested in working on this issue or have submitted a pull request, please leave a comment
Expected Behavior
No crash on failed deploy with just the error displayed
Actual Behavior
Crash on deploy failure after displaying the error.
Steps to Reproduce
cdktn-cli: Deployment options not working as expected #187Versions
language: typescript
cdktn-cli: 0.24.0-pre.91
node: v22.22.2
cdktn: 0.24.0-pre.91
cdktf: null
constructs: 10.6.0
jsii: null
terraform: 1.14.3
arch: x64
os: win32 10.0.26200
providers
aws@~> 6.45 (LOCAL)
terraform provider version: 6.56.0
Migration Context
Not sure / don't remember
Upstream cdktf Issue
No response
Providers
No response
Gist
No response
Possible Solutions
No response
Workarounds
No response
Anything Else?
No response
References
cdktn-cli: Deployment options not working as expected #187Help Wanted
Community Note