CloudWiki
Resource
Get a free AWS Well-Architected Assessment ->

Microsoft Azure

Resource Group

Azure Resource Group is a logical container that allows users to organize and manage related Azure resources, such as virtual machines, storage accounts, and network interfaces, as a single unit. It provides a way to manage and monitor resources collectively, rather than individually.Resource groups are created within an Azure subscription and can be used to organize resources based on different criteria, such as environment, application, or department. Resources can be added, removed, or modified within a resource group as needed.‍
aws cost
Costs
Direct Cost
Indirect Cost
No items found.
Terraform Name
terraform
azurerm_resource_group
Resource Group
attributes:

The following arguments are supported:

  • location - (Required) The Azure Region where the Resource Group should exist. Changing this forces a new Resource Group to be created.
  • name - (Required) The Name which should be used for this Resource Group. Changing this forces a new Resource Group to be created.
  • tags - (Optional) A mapping of tags which should be assigned to the Resource Group.

Associating resources with a
Resource Group
Resources do not "belong" to a
Resource Group
Rather, one or more Security Groups are associated to a resource.
Create
Resource Group
via Terraform:
Syntax:

resource "azurerm_resource_group" "example" {
 name     = "example"
 location = "West Europe"
}

Create
Resource Group
via CLI:
Parametres:

az group create --location
               --name
               [--managed-by]
               [--tags]

Example:

az group create -l westus -n MyResourceGroup

Best Practices for
Resource Group

Categorized by Availability, Security & Compliance and Cost

No items found.
Explore all the rules our platform covers
Related blog posts