Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OIC: Unable to update instance with custom_endpoint #2266

Open
nitin23c opened this issue Jan 10, 2025 · 0 comments
Open

OIC: Unable to update instance with custom_endpoint #2266

nitin23c opened this issue Jan 10, 2025 · 0 comments
Labels

Comments

@nitin23c
Copy link

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 v1.10.2
provider registry.terraform.io/oracle/oci v6.21.0

Affected Resource(s)

oci_integration_integration_instance

Terraform Configuration Files

resource "oci_integration_integration_instance" "prod_integration_instance" {
  #Required
  compartment_id               = var.CompartmentOCID
  display_name                 = var.OICDisplayName
  integration_instance_type    = var.OICInstanceType
  is_byol                      = var.isOICbyol
  message_packs                = var.OICMessagePacks
  domain_id                    = var.OICDomainID
  is_disaster_recovery_enabled = var.OICDisasterRecoveryEnabled
  is_file_server_enabled       = var.OICFileServerEnabled
  is_visual_builder_enabled    = var.OICVisualBuilderEnabled
  custom_endpoint {
    hostname                   = var.OICCustomHostname
  }

  network_endpoint_details {

    allowlisted_http_ips = var.OICAllowlistedIPs
    #Required
    network_endpoint_type = var.OICNetworkEndpointType
    allowlisted_http_vcns {
      id = var.VCNID1
    }
    allowlisted_http_vcns {
      id = var.VCNID2
    }
    is_integration_vcn_allowlisted = var.OICVCNAllowlisted
  }
  shape = var.OICShape
  state = var.OICState
}

Debug Output

https://gist.github.com/nitin23c/bbddf0f24110825207b04fba90af083e

Panic Output

Expected Behavior

Should have updated the OIC instance with custom_endpoint

Actual Behavior

│ Error: Missing required argument
│ 
│   on main.tf line 12, in resource "oci_integration_integration_instance" "demo_integration_instance":12:   custom_endpoint {
│ 
│ The argument "dns_zone_name" is required, but no definition was found.

Steps to Reproduce

  1. terraform apply

Important Factoids

References

@nitin23c nitin23c added the bug label Jan 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant