Create an Azure Resource Group using Cloud Catalog Item

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-13-2023 02:52 AM
I have a simple requirement to simply create a catalog item which allows for resource groups to be created in Azure. I can create a suitable template and build the catalog item, however the problem comes with the default fields that ServiceNow adds.
So what's happening is that ServiceNow is creating the Resource group from it's own attributes and then trying to create the resource group from the ARM template which then fails (obviously).
Is there any obvious way that I'm missing which will allow me to separate out the RG creation?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-13-2023 07:39 PM
Aidan, with Terraform templates this is easier to do - as this is governed from the template side. the steps for for ARM is different - the resource group creation is done through a CAPI call outside of the actual ARM deployment.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-14-2023 03:16 AM
Thanks Ram, that was my thought but was hoping there would be a solution that didn't need Terraform (not every customer uses it)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-13-2023 09:49 AM
Hello Aidan,
Did you ever work around this issue?
It seems there are some challenges navigating around Resource Groups in the CPG ARM Templates approach. In our Azure environment, we use Azure Policy, and this is proving to be an issue as the "Create Resource Group" option does not address the necessary Tags for the deployment to succeed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-05-2023 12:12 AM
Resource Group seems a base for other resource provisioning, considering to create a resource group via ARM is not the right approach through CPG. CPG normally checks if the resource group mentioned is available else it will create it then proceed with the other resource creation.
Mark help full!!!!