exoscale_instance_pool_list (Data Source)
List Exoscale Instance Pools.
Corresponding resource: exoscale_instance_pool.
Example Usage
data "exoscale_instance_pool_list" "my_instance_pool_list" {
zone = "ch-gva-2"
}
output "my_instance_pool_ids" {
value = join("\n", formatlist(
"%s", data.exoscale_instance_pool_list.my_instance_pool_list.pools.*.id
))
}
Please refer to the examples directory for complete configuration examples.
Schema
Required
zone
(String) The Exoscale Zone name.
Read-Only
id
(String) The ID of this resource.pools
(List of Object) The list of exoscale_instance_pool. (see below for nested schema)
Nested Schema for pools
Read-Only:
affinity_group_ids
(Set of String)anti_affinity_group_ids
(Set of String)deploy_target_id
(String)description
(String)disk_size
(Number)elastic_ip_ids
(Set of String)id
(String)instance_prefix
(String)instance_type
(String)instances
(Set of Object) (see below for nested schema)ipv6
(Boolean)key_pair
(String)labels
(Map of String)name
(String)network_ids
(Set of String)security_group_ids
(Set of String)size
(Number)state
(String)template_id
(String)user_data
(String)zone
(String)
Nested Schema for pools.instances
Read-Only:
id
(String)ipv6_address
(String)name
(String)public_ip_address
(String)