terraform-provider-oci
terraform-provider-oci copied to clipboard
oci_core_drg_attachment with vcn_route_type fails
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
Is there any update regarding this issue?
Hit the same issue,any update here?
if I remember right it works when you create with the route type from the start ? Of course its still a bug ....
Thank you for reporting the issue. We have raised an internal ticket to track this. Our service engineers will get back to you.
Hey @chrisbulgaria @tominovo @mbastawisy-careem , This issue is fixed in 5.26.0 terraform-oci-provider version. Please check and confirm