Create terraform script for APIM instead of ARM template

Kartik Lohani 1 Reputation point

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
Azure API Management
An Azure service that provides a hybrid, multi-cloud management platform for APIs.
1,939 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. MayankBargali-MSFT 69,991 Reputation points

    Hi @Kartik Lohani

    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:

    1 person found this answer helpful.
    0 comments No comments