Data Source: azurerm_policy_set_definition

Use this data source to access information about an existing Policy Set Definition.

Example Usage

data "azurerm_policy_set_definition" "example" {
  display_name = "Policy Set Definition Example"
}

output "id" {
  value = data.azurerm_policy_set_definition.example.id
}

Argument Reference

NOTE As display_name is not unique errors may occur when there are multiple policy set definitions with same display name.

Attributes Reference


An policy_definition_reference block exports the following:


An policy_definition_group block exports the following:

Timeouts

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