Open dburianov opened 1 year ago
Thank you for reporting the issue. We observed the affected resources are not provided in the description or it's incorrect. We request you to add it in issue description as mentioned in below format. Example: affected_resources = oci_core_instance , oci_core_instances
If it's not related to any particular resource then mention affected resource as terraform. Example: affected_resources = terraform
As this works through automation, request you to follow exact syntax.
Thank you for reporting the issue. We observed the affected resources are not provided in the description or it's incorrect. We request you to add it in issue description as mentioned in below format. Example: affected_resources = oci_core_instance , oci_core_instances
If it's not related to any particular resource then mention affected resource as terraform. Example: affected_resources = terraform
As this works through automation, request you to follow exact syntax.
affected_resources = oci_core_public_ip,oci_network_load_balancer_network_load_balancer,oci_core_private_ip,terraform
added
Is there a workaround for this issue? I also tried defining a private IP address resource for the public IP to assign to, but I encountered the same error -- it needs the VNIC id, but I am having trouble finding documentation on how to acquire it from the provider.
Is there a workaround for this issue? I also tried defining a private IP address resource for the public IP to assign to, but I encountered the same error -- it needs the VNIC id, but I am having trouble finding documentation on how to acquire it from the provider.
resource "oci_core_public_ip" "lb_reserved_ip" { compartment_id = var.compartment_ocid lifetime = "RESERVED" display_name = "nlb_service" lifecycle { ignore_changes = [ private_ip_id ] } }
Prescription
I create resource oci_core_public_ip and attach it to NLB
Terraform and provider versions
terraform: 1.4+ provider: 4+, 5+ previous versions do not tested.
Affected Resource(s)
affected_resources = oci_core_public_ip,oci_network_load_balancer_network_load_balancer,oci_core_private_ip,terraform
Next steps
NLB created, but in console log we see:
Problem
oci_core_public_ip disassociated from NLB private IP and NLB does not receive traffic. On the NLB we see, that resource oci_core_public_ip.lb_reserved_ip associated, but on the Reserved IP we see that no VNIC attached. However in terraform state we can see that oci_core_public_ip assignet to ocid1.privateip...
I try to create
follow by documentation all options are optionas, but:
Can you fix creation resource "oci_core_private_ip" with declare subnet_id or create internal mechaninm for update association NLB with oci_core_public_ip
this issue similar to closed issue (https://github.com/oracle/terraform-provider-oci/issues/1385)