Use this data source to access the attributes of an existing IP Network IP Address Reservation.
data "opc_compute_ip_address_reservation" "example" { name = "/Compute-${var.domain}/${var.user}/ipaddressreservation1" } output "public_ip_address" { value = "${data.opc_compute_ip_address_reservation.example.ip_address}" }
The following arguments are supported:
name
- (Required) The name of the ip address reservation. ip_address_pool
- The IP address pool from which the IP address is allocated.
description
- A description of the ip address reservation.
tags
- List of tags that applied to the IP address reservation.
ip_address
- The reserved IPv4 Public IP address.
uri
- The Uniform Resource Identifier of the ip address reservation
© 2018 HashiCorpLicensed under the MPL 2.0 License.
https://www.terraform.io/docs/providers/opc/d/opc_compute_ip_address_reservation.html