I’m trying to run cdktf
inside an AWS lambda function, deployed via a container image based on Amazon Linux 2023
. When executing deploy I get the following error in the logs:
Error: forkpty(3) failed.
I all works when executing locally via the Runtime Interface Emaulator.
I tried executing synth
and apply
separately, synth
succeeds, apply
fails. There isn’t that much information around this error on the web.
Appreciate any help!
1