Unable to create Azure Cosmos DB account using azure terraform

I am unable to create cosmos DB account in azure using terraform in playground. I have tried many different configuration in order to make the resource compliant with the limits and policies. I even created the cosmos DB account manually, then import it in terraform, after that I extracted the configuration, and tried to recreate it with the exported configuration. But still I am facing 403 forbidden as the deployment is denied by some policy. “22159d88-0023-4d07-8b22-cd1769968b1c” is the policy that is causing the issue.

Kindly help me on this.

Hi @crazylinux

I see the issue, and I can reproduce it on my side too. I’ll look into it more and let the team know.

1 Like

I’ve forwared to the team and we will check it, I’ll keep you update.

1 Like

Hi @raymond.baoly,
Thanks a lot for your support.

hi @raymond.baoly,

any update on this?

Not yet, please use the console for this feature for now. I’ll keep you updated.

1 Like

Hi @crazylinux,

The team has updated it, we are able to create Cosmos DB with terraform in playground.

1 Like

@raymond.baoly ,
Thanks a lot

1 Like