Skip to content

Conversation

kral2
Copy link
Contributor

@kral2 kral2 commented Sep 9, 2021

Feature description

This feature allow the module user to provision an instance with a reserved public IP.
The user still have the possibility to provision an instance without a public IP or with an ephemeral public IP.

The argument assign_public_ip from the create_vnic_details block on oci_core_instance is not used anymore, as it do not allow assigning a reserved public IP.

New resources

  • oci_core_public_ip

Control variable

  • var.public_ip as string with the following accepted values: NONE, RESERVED or EPHEMERAL
  • var.public_ip_display_name as string, default to instance's display name
@kral2 kral2 requested a review from hyder September 9, 2021 21:02
hyder
hyder previously approved these changes Sep 14, 2021
var.assign_public_ip becomes deprecated var.public_ip and var.public_ip_display_name are added to control this new resource var.public_ip accept a string with value NONE, RESERVED or EPHEMERAL. each keyword does what it says. fix oracle-terraform-modules#55
- fix assign_public_ip test condition - rename terraform resources from <this> to more meaningful name
@kral2 kral2 force-pushed the 55_add_reserved_public_ip branch from 6ec0d5a to 53db5b9 Compare September 20, 2021 12:51
@kral2 kral2 requested a review from hyder September 20, 2021 12:53
@kral2 kral2 merged commit 5b0c5c4 into oracle-terraform-modules:main Sep 20, 2021
@kral2 kral2 deleted the 55_add_reserved_public_ip branch September 20, 2021 13:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants