subcategory | page_title |
---|---|
Load Balancers |
Scaleway: scaleway_lb_ips |
Gets information about multiple Load Balancer IP addresses.
For more information, see the main documentation or API documentation.
# Find multiple IPs that share the same CIDR block
data "scaleway_lb_ips" "my_key" {
ip_cidr_range = "0.0.0.0/0"
}
# Find IPs by CIDR block and zone
data "scaleway_lb_ips" "my_key" {
ip_cidr_range = "0.0.0.0/0"
zone = "fr-par-2"
}
# Find IPs that share the same tags and type
data "scaleway_lb_ips" "ips_by_tags_and_type" {
tags = [ "a tag" ]
ip_type = "ipv4"
}
-
ip_cidr_range
- (Optional) The IP CIDR range to filter for. IPs within a matching CIDR block are listed. -
tags
- (Optional) List of tags used as filter. IPs with these exact tags are listed. -
ip_type
- (Optional) The IP type used as a filter. -
zone
- (Defaults to providerzone
) The zone in which the IPs exist.
In addition to all arguments above, the following attributes are exported:
ips
- List of retrieved IPsid
- The ID of the associated IP.lb_id
- The ID of the associated Load BalancerD, if anyip_address
- The IP addresszone
- The zone of the Load Balancer.reverse
- The reverse domain associated with this IP.organization_id
- The ID of the Organization the Load Balancer is associated with.project_id
- The ID of the Project the Load Balancer is associated with.