refactor drg and drg_attachment
kral2 opened this issue ยท 0 comments
kral2 commented
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
Description
oci_core_drg_attachment got new capabilities related to the recent DRG enhancements.
A DRG can now be attached to multiple VCN.
vcn_id
argument is now deprecated and should be replaced by network_details
network_details {
#Required
id = var.drg_attachment_network_details_id
type = var.drg_attachment_network_details_type
#Optional
route_table_id = oci_core_route_table.test_route_table.id
}
New or Affected Resource(s)
oci_core_drg
oci_core_drg_attachment.drg
Potential Terraform Configuration
With the new DRG enhancements, there is also a lot more option to attach route tables, at different levels. This will need a detailed review and planning.
It may be the point when we split drg code to his own sub-module.