» Data Source: azurerm_availability_set

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

» Example Usage

data "azurerm_availability_set" "test" {
  name                = "tf-appsecuritygroup"
  resource_group_name = "my-resource-group"
}

output "availability_set_id" {
  value = "${data.azurerm_availability_set.test.id}"
}

» Argument Reference

The following arguments are supported:

  • name - The name of the Availability Set.

  • resource_group_name - The name of the resource group in which the Availability Set exists.

» Attributes Reference

The following attributes are exported: