subcategory | layout | page_title | description |
---|---|---|---|
Blueprints |
azurerm |
Azure Resource Manager: azurerm_blueprint_definition |
Gets information about an existing Blueprint Definition |
Use this data source to access information about an existing Azure Blueprint Definition
data "azurerm_client_config" "current" {}
data "azurerm_management_group" "root" {
name = data.azurerm_client_config.current.tenant_id
}
data "azurerm_blueprint_definition" "example" {
name = "exampleManagementGroupBP"
scope_id = data.azurerm_management_group.root.id
}
-
name
- (Required) The name of the Blueprint -
scope_id
- (Required) The Resource ID of the scope at which the blueprint definition is stored. This will be with either a Subscription ID or Management Group ID.
-
id
- The Azure Resource ID of the Blueprint Definition. -
description
- The description of the Blueprint Definition. -
display_name
- The display name of the Blueprint Definition. -
last_modified
- The timestamp of when this last modification was saved to the Blueprint Definition. -
target_scope
- The target scope. -
time_created
- The timestamp of when this Blueprint Definition was created. -
versions
- A list of versions published for this Blueprint Definition.
The timeouts
block allows you to specify timeouts for certain actions:
read
- (Defaults to 5 minutes) Used when retrieving the Blueprint Published Version.