Use this data source to get information about host aggregates by name.
data "openstack_compute_aggregate_v2" "test" {
name = "test"
}
name
- The name of the host aggregateid
is set to the ID of the found Host Aggregate. In addition, the
following attributes are exported:
name
- See Argument Reference above.zone
- Availability zone of the Host Aggregatemetadata
- Metadata of the Host Aggregatehosts
- List of Hypervisors contained in the Host Aggregate