Provider azuread not found on stack

Hi all,
am having trouble synthesizing my typescript project. It uses @cdktf/provider-azurerm and @cdktf/provider-azuread both are installed via npm but when I try to synthesize the project I always get the error
Found resources without a matching provider. Please make sure to add the following providers to your stack: azuread
I tried adding it to cdktf.json and running ``cdktf get` but it had the same results, so I am a little confused, on what is happening actually and how to solve it. Google did not provide any insightful hint on that topic

Regards Mathias

Hey there,

You need to tell your stack to use the provider, here is an example: terraform-cdk/main.ts at main · hashicorp/terraform-cdk · GitHub

1 Like