Cloning resource group for environment setup

PK 316 Reputation points
2021-08-01T22:53:44.863+00:00

Hello,

We have a separate resource groups for separate environments.

For example, for development - Dev, testing - SIT, production - Prod.

In an environment, we have hosted Function App API's to APIM.

Now, we have to provision a UAT environment.

Is there a possibility to clone a resource group by providing the URL's for the API's? or what would be the best approach?

Thanks!

Azure API Management
Azure API Management
An Azure service that provides a hybrid, multi-cloud management platform for APIs.
1,751 questions
Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,263 questions
0 comments No comments
{count} votes

Accepted answer
  1. Pramod Valavala 20,516 Reputation points Microsoft Employee
    2021-08-02T04:56:19.71+00:00

    @PK AFAIK there isn't any built-in support for cloning a resource group. You could always export a resource group as an ARM Template but it won't really help to clone immediately.

    You could leverage ARM APIs to perform cloning, but I believe this would require some work to get it right for all resources involved.

    The recommended approach would be to author ARM templates (you could build upon the exported ones above) and deploy your resources for each environment as required. Azure APIM has an official doc that covers how you can setup CI/CD for APIM that you can refer to as well.

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful