Skip to content

Latest commit

 

History

History
53 lines (33 loc) · 1.51 KB

management_group.html.markdown

File metadata and controls

53 lines (33 loc) · 1.51 KB
subcategory layout page_title description
Management
azurerm
Azure Resource Manager: azurerm_management_group
Gets information about an existing Management Group.

Data Source: azurerm_management_group

Use this data source to access information about an existing Management Group.

Example Usage

data "azurerm_management_group" "example" {
  name = "00000000-0000-0000-0000-000000000000"
}

output "display_name" {
  value = data.azurerm_management_group.example.display_name
}

Argument Reference

The following arguments are supported:

  • name - Specifies the name or UUID of this Management Group.

  • group_id - Specifies the name or UUID of this Management Group.

~> NOTE: The field group_id has been deprecated in favour of name.

  • display_name - Specifies the display name of this Management Group.

~> NOTE Whilst multiple management groups may share the same display name, when filtering Terraform expects a single management group to be found with this name.

Attributes Reference

The following attributes are exported:

  • id - The ID of the Management Group.

  • parent_management_group_id - The ID of any Parent Management Group.

  • subscription_ids - A list of Subscription IDs which are assigned to the Management Group.

Timeouts

The timeouts block allows you to specify timeouts for certain actions:

  • read - (Defaults to 5 minutes) Used when retrieving the Management Group.