Deploy Template to a New Resource Group
A 3-step recipe with Microsoft Azure. We can help you get access.
Recipe · 3 steps
Deploy Template to a New Resource Group
with Microsoft Azure · IT Infrastructure Management
Provision a resource group and deploy an ARM template into it, polling to completion.
- Create or update the target resource group in the chosen location so the deployment has a scope to land in.
- Start an incremental template deployment at resource group scope using the supplied inline template and parameters.
- Get the deployment and inspect its provisioning state. The step branches to completion when the state is Succeeded and to failure when it is Failed or Canceled; any other (in-progress) state loops back to poll again.
What you'll need to have ready
- accessToken: An Azure Resource Manager OAuth2 bearer access token.
- subscriptionId: The ID of the target subscription.
- resourceGroupName: The name of the resource group to create and deploy into.
- location: The Azure region for the resource group (e.g. eastus).
- deploymentName: The name of the deployment.
- template: The inline ARM template content to deploy.
- parameters: Name/value pairs that define the deployment parameters.
- apiVersion: The Azure Resource Manager API version.
For your developer
Arazzo workflow microsoft-azure:deploy-template-to-resource-group, 3 operations: ResourceGroups_CreateOrUpdate → putSubscriptionsBySubscriptionIdResourcegroupsByResourceGroupNameDeploymentsByDeploymentName → getSubscriptionsBySubscriptionIdResourcegroupsByResourceGroupNameDeploymentsByDeploymentName. Specs on APIs.io.