Azure Resource GroupΒΆ

All Azure resources must be contained within Resource groups, therefore OpeNgine creates (or uses references to existing) Azure Resource groups prior provisioning any other resources.

OpeNgine has the following options for Resource Groups in Azure:

  • New Resource Group on Azure

  • Existing Resource Group on Azure

In the OpeNgine configuration file environment/vars.yml all Resource Groups are defined as single rg: block containing multiple Resource group definitions. The block can have a mix of Resource groups to be provisioned and references to existing Resource groups.

Resource group configuration in environment/vars.yml:

rg:
 mng-cluster-rg:
   type: azurerm-provision-rg
 dev-cluster-rg:
   type: azurerm-existing-rg

Element

Description

rg

Parent element of Azure Resource groups configuration that contains a list of Resource groups to be used in OpeNgine.

mng-cluster-rg

Resource group name.

type

For Azure Resource groups, type can be either azurerm-provision-rg or azurerm-existing-rg