You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, there is no Data Source available to retrieve information about IP address ranges dynamically allocated for networks created through the opennebula_service resource in Terraform. This creates difficulties when there is a need to obtain a list of IP addresses allocated from a specific range.
New or affected resources and data sources
New Data Source: opennebula_virtual_network_address_range
Potential terraform configuration
resource"opennebula_service""example" {
# Your configuration code for creating the service
}
data"opennebula_virtual_network""example" {
id=opennebula_service.example.networks.example_network
}
# Example usage of the proposed data sourcedata"opennebula_virtual_network_address_range""example_range" {
virtual_network_id=opennebula_virtual_network.example.id
}
# Output exampleoutput"network_address_range_held_ips" {
value=data.opennebula_virtual_network_address_range.example_range.held_ips
}
output"network_address_range_ip4" {
value=data.opennebula_virtual_network_address_range.example_range.ip4
}
output"network_address_range_size" {
value=data.opennebula_virtual_network_address_range.example_range.size
}
References
No response
The text was updated successfully, but these errors were encountered:
Description
Currently, there is no Data Source available to retrieve information about IP address ranges dynamically allocated for networks created through the opennebula_service resource in Terraform. This creates difficulties when there is a need to obtain a list of IP addresses allocated from a specific range.
New or affected resources and data sources
New Data Source: opennebula_virtual_network_address_range
Potential terraform configuration
References
No response
The text was updated successfully, but these errors were encountered: