Cdktf deploy problem with Azure dev ops pipeline

Hi,

I’m trying to set up a basic pipeline in Azure dev Ops services that uses cdktf to deploy my infrastructure.

In my repo I put all the structure of a very basic project initialized with cdktf (cdktf init):

Here is the content of my main.ts file :

The steps of this pipeline are :

  • npm install --global cdktf-cli@latest
  • npm install @cdktf/provider-azurerm
  • cdktf synth
  • cdktf deploy

Please note that the agent running all those steps is a Ubuntu agent from Microsoft, it comes with Terraform installed, but no cdktf.

The cdktf deploy step gives a strange error :

Error: Raw mode is not supported on the current process.stdin, which Ink uses as input stream by default.
Read about how to prevent this error on GitHub - vadimdemedes/ink: 🌈 React for interactive command-line apps

Is there a solution for this problem ? I don’t have this issue on my local machine using the same steps.

Have a nice day