azure_affinity_group
Creates a new affinity group on Azure.
Example Usage
resource "azure_affinity_group" "terraform-main-group" {
name = "terraform-group"
location = "North Europe"
label = "tf-group-01"
description = "Affinity group created by Terraform."
}
Argument Reference
The following arguments are supported:
-
name
- (Required) The name of the affinity group. Must be unique on your Azure subscription. -
location
- (Required) The location where the affinity group should be created. For a list of all Azure locations, please consult this link. -
label
- (Required) A label to be used for tracking purposes. -
description
- (Optional) A description for the affinity group.
Attributes Reference
The following attributes are exported:
id
- The affinity group ID. Coincides with the givenname
.
See the source of this document at Terraform.io