Creates an affinity group.
resource "cloudstack_affinity_group" "default" { name = "test-affinity-group" type = "host anti-affinity" }
The following arguments are supported:
name
- (Required) The name of the affinity group. Changing this forces a new resource to be created.
description
- (Optional) The description of the affinity group.
type
- (Required) The affinity group type. Changing this forces a new resource to be created.
project
- (Optional) The name or ID of the project to register this affinity group to. Changing this forces a new resource to be created.
The following attributes are exported:
id
- The id of the affinity group. description
- The description of the affinity group.
© 2018 HashiCorpLicensed under the MPL 2.0 License.
https://www.terraform.io/docs/providers/cloudstack/r/affinity_group.html