terraform-provider-oci icon indicating copy to clipboard operation
terraform-provider-oci copied to clipboard

oci_core_drg_attachment with vcn_route_type fails

Open chrisbulgaria opened this issue 2 years ago • 5 comments

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

Provider version: 4.79.0, released on 2022-06-08.

Affected Resource(s)

oci_core_drg_attachment

Terraform Configuration Files

resource "oci_core_drg_attachment" "drg_attachment" {
    drg_id = var.drg_id

    network_details {
        id              = oci_core_vcn.vcn.id
        type            = "VCN"
        vcn_route_type  = "VCN_CIDRS"
    }
}

Debug Output

Error: 400-InvalidParameter, networkDetails.routeTableId size must be between 1 and 255 │ Suggestion: Please update the parameter(s) in the Terraform config as per error message networkDetails.routeTableId size must be between 1 and 255

Expected Behavior

Configuration should be accepted ( its an update - vcn_route_type added)

Actual Behavior

error as above

Steps to Reproduce

Apply first without vcn_route_type , then with

chrisbulgaria avatar Jun 13 '22 12:06 chrisbulgaria

Is there any update regarding this issue?

mbastawisy-careem avatar Aug 29 '22 10:08 mbastawisy-careem

Hit the same issue,any update here?

tominovo avatar Mar 25 '23 10:03 tominovo

if I remember right it works when you create with the route type from the start ? Of course its still a bug ....

chrisbulgaria avatar Mar 25 '23 14:03 chrisbulgaria

Thank you for reporting the issue. We have raised an internal ticket to track this. Our service engineers will get back to you.

ravinitp avatar Mar 29 '23 09:03 ravinitp

Hey @chrisbulgaria @tominovo @mbastawisy-careem , This issue is fixed in 5.26.0 terraform-oci-provider version. Please check and confirm

raakshash avatar Jan 25 '24 14:01 raakshash