1.3 KiB
1.3 KiB
layout | page_title | sidebar_current | description |
---|---|---|---|
opc | Oracle: opc_compute_ip_reservation | docs-opc-resource-ip-reservation | Creates and manages an IP reservation in an OPC identity domain for the Shared Network. |
opc_compute_ip_reservation
The opc_compute_ip_reservation
resource creates and manages an IP reservation in an OPC identity domain for the Shared Network.
Example Usage
resource "opc_compute_ip_reservation" "reservation1" {
parent_pool = "/oracle/public/ippool"
permanent = true
tags = [ "test" ]
}
Argument Reference
The following arguments are supported:
-
parent_pool
- (Required) The pool from which to allocate the IP address. -
permanent
- (Required) Whether the IP address remains reserved even when it is no longer associated with an instance (if true), or may be returned to the pool and replaced with a different IP address when an instance is restarted, or deleted and recreated (if false). -
name
- (Optional) Name of the IP Reservation. Will be generated if unspecified. -
tags
- (Optional) List of tags that may be applied to the IP reservation.
Import
IP Reservations can be imported using the resource name
, e.g.
terraform import opc_compute_ip_reservations.reservation1 example