OKIT generates Terraform (TF) scripts that attempt to set the default route pointing to the DRG attachement which is wrong, it should be pointing to the DRG itself. See examples below from network.tf file.
This is in the network.tf file:-
------ Create DRG Attachment
resource "oci_core_drg_attachment" "Okit_DRGA_1720136222231" {
drg_id = local.Okit_DRG_1720136217826_id <-- THIS IS THE DRG ID
vcn_id = local.Okit_VCN_1720136040877_id <-- THIS IS THE VCN ID
display_name = "au-drg-attachment"
freeform_tags = {"okit_version": "0.61.0", "okit_model_id": "okit-model-2722e0e0-8a06-43a6-bc12-4de803254e5f", "okit_reference": "okit-6ba8d58f-7872-45e4-b09d-ad0fc048da7e"}
}
locals {
Okit_DRGA_1720136222231_id = oci_core_drg_attachment.Okit_DRGA_1720136222231.id <-- THIS IS THE DRG ATTACHMENT ID
}
OKIT generates Terraform (TF) scripts that attempt to set the default route pointing to the DRG attachement which is wrong, it should be pointing to the DRG itself. See examples below from network.tf file.
This is in the network.tf file:-
------ Create DRG Attachment
resource "oci_core_drg_attachment" "Okit_DRGA_1720136222231" { drg_id = local.Okit_DRG_1720136217826_id <-- THIS IS THE DRG ID vcn_id = local.Okit_VCN_1720136040877_id <-- THIS IS THE VCN ID display_name = "au-drg-attachment" freeform_tags = {"okit_version": "0.61.0", "okit_model_id": "okit-model-2722e0e0-8a06-43a6-bc12-4de803254e5f", "okit_reference": "okit-6ba8d58f-7872-45e4-b09d-ad0fc048da7e"} }
locals { Okit_DRGA_1720136222231_id = oci_core_drg_attachment.Okit_DRGA_1720136222231.id <-- THIS IS THE DRG ATTACHMENT ID }
------ Create Route Table
------- Update VCN Default Route Table
resource "oci_core_default_route_table" "Okit_RT_1720136040882" {
Required
}