question

KartikLohani-7638 avatar image
0 Votes"
KartikLohani-7638 asked ·

Create terraform script for APIM instead of ARM template

I'm using API management services. Now I'm working on the deployment for the same. Using the "extract services" feature, I'm able to generate the ARM template for the APIM but I need the terraform script for the deployment instead of ARM template. Can we generate the terraform script for APIM and include all the API policies which we defined in inbound processing section ?

azure-api-management
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

MayankBargali-MSFT avatar image
1 Vote"
MayankBargali-MSFT answered ·

Hi @KartikLohani-7638

Welcome to Microsoft Q&A! Thanks for posting the question.

I don't see any way to convert ARM template to terraform script but you can use the ARM template that can be deployed using terraform command resource_group_template_deployment. I don't see any APIM terraform command to achieve this.

Github Terraform Repository: https://github.com/terraform-providers/terraform-provider-azurerm

·
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.