question

PK-7858 avatar image
0 Votes"
PK-7858 asked PK-7858 commented

Cloning resource group for environment setup

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-functionsazure-api-management
5 |1600 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

PramodValavala-MSFT avatar image
1 Vote"
PramodValavala-MSFT answered PK-7858 commented

@PK-7858 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
5 |1600 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.

@PramodValavala-MSFT - Thank you very much!

0 Votes 0 ·