opc_compute_ip_address_reservation
The opc_compute_ip_address_reservation
resource creates and manages an IP address reservation in an Oracle Cloud Infrastructure Compute Classic identity domain, for an IP Network.
Example Usage
resource "opc_compute_ip_address_reservation" "default" { name = "IPAddressReservation1" ip_address_pool = "public-ippool" }
Argument Reference
The following arguments are supported:
-
name
- (Required) The name of the ip address reservation. -
ip_address_pool
- (Required) The IP address pool from which you want to reserve an IP address. Must be eitherpublic-ippool
orcloud-ippool
. -
description
- (Optional) A description of the ip address reservation. -
tags
- (Optional) List of tags that may be applied to the IP address reservation.
In addition to the above, the following attributes are exported:
-
ip_address
- Reserved NAT IPv4 address from the IP address pool. -
uri
- The Uniform Resource Identifier of the ip address reservation
Import
IP Address Reservations can be imported using the resource name
, e.g.
$ terraform import opc_compute_ip_address_reservation.default example
© 2018 HashiCorpLicensed under the MPL 2.0 License.
https://www.terraform.io/docs/providers/opc/r/opc_compute_ip_address_reservation.html