Skip to content

Adding network_endpoint_details to oci_integration_integration_instance should not force re-creationย #2472

@tyskjohan

Description

@tyskjohan

Community Note

  • Please vote on this issue by adding a ๐Ÿ‘ reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Terraform Version and Provider Version

Terraform 1.10
OCI Provider >= 7.18.0

Affected Resource(s)

oci_integration_integration_instance

Terraform Configuration Files

  # Configure private endpoint in environment subnet
  network_endpoint_details {
    network_endpoint_type = "PUBLIC"
    allowlisted_http_vcns {
      id              = oci_core_vcn.vcn_myvcn_1.id
      allowlisted_ips = [oci_core_subnet.subnet_mysubnet_1.cidr_block]
    }
  }

Debug Output

Panic Output

Expected Behavior

The IP allowlist should be implemented without re-creating the instance.

Actual Behavior

The terraform apply decided to tear down and re-create the OIC Gen3 instance.
From the GUI, it is possible to add this with neither downtime nor restart nor re-creation need.

Steps to Reproduce

  1. terraform apply

Important Factoids

References

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions