Closed
Description
Currently, this module supports public ip only on primary vnic and primary IP, using assign_public_ip
input (boolean).
- It is set directly on the primary vnic in the
create_vnic_details
block. - This block do not support public IP with lifetime
RESERVED
, it isEPHEMERAL
by default. - when an
EPHEMERAL
public IP is already assigned to a vnic, user have to first unassign the public IP before being allowed to attach a new public IP with typeRESERVED
To have the choice of both RESERVED
and EPHEMERAL
with a consistent user experience, the public IP assignment logic needs to be removed from the create_vnic_details
block and promoted as a distinct resource, using oci_core_public_ip.
Note: The primary vnic's primary IP OCID will need to get retrieved.