Skip to content

add reserved public ip to instance #55

Closed
@kral2

Description

@kral2

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 is EPHEMERALby 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 type RESERVED

To have the choice of both RESERVEDand 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions