1.3 KiB
1.3 KiB
layout | page_title | sidebar_current | description |
---|---|---|---|
opc | Oracle: opc_compute_ip_association | docs-opc-resource-ip-association | Creates and manages an IP association in an OPC identity domain for the Shared Network. |
opc_compute_ip_association
The opc_compute_ip_association
resource creates and manages an association between an IP address and an instance in
an OPC identity domain, for the Shared Network.
Example Usage
resource "opc_compute_ip_association" "instance1_reservation1" {
vcable = "${opc_compute_instance.test_instance.vcable}"
parentpool = "ipreservation:${opc_compute_ip_reservation.reservation1.name}"
}
Argument Reference
The following arguments are supported:
-
vcable
- (Required) The vcable of the instance to associate the IP address with. -
parentpool
- (Required) The pool from which to take an IP address. To associate a specific reserved IP address, use the prefixipreservation:
followed by the name of the IP reservation. To allocate an IP address from a pool, use the prefixippool:
, e.g.ippool:/oracle/public/ippool
.
Attributes Reference
The following attributes are exported:
name
The name of the IP Association
Import
IP Associations can be imported using the resource name
, e.g.
$ terraform import opc_compute_ip_association.association1 example