@@ -288,7 +288,7 @@ def export_subnets(inputfile, outdir, service_dir,prefix,config,export_regions,
288288 print ("\n \n Execute tf_import_commands_network_subnets_nonGF.sh script created under each region directory to synch TF with OCI Network objects\n " )
289289
290290
291- def export_nsg (inputfile , outdir , prefix ,service_dir ,config ,export_regions ,ct ):
291+ def export_nsg (inputfile , outdir , prefix ,service_dir_nt ,config ,export_regions ,ct ):
292292 if len (outdir_struct ) != 0 :
293293 service_dir = outdir_struct ['nsg' ]
294294 else :
@@ -606,7 +606,7 @@ def export_drg_route_rules(inputfile, outdir, service_dir, prefix, config, non_g
606606 Network .export_drg_routetable (inputfile , export_compartments = compartments , export_regions = export_regions ,service_dir = service_dir , _config = config , _tf_import_cmd = False , outdir = None ,ct = ct )
607607
608608
609- def export_modify_nsgs (inputfile , outdir , service_dir , prefix , non_gf_tenancy , config ):
609+ def export_modify_nsgs (inputfile , outdir , service_dir_nt , prefix , non_gf_tenancy , config ):
610610 if len (outdir_struct ) != 0 :
611611 service_dir = outdir_struct ['nsg' ]
612612 else :
@@ -650,7 +650,7 @@ def create_compute():
650650 options = show_options (options , quit = True , menu = True , index = 1 )
651651 execute_options (options , inputfile , outdir , service_dir ,prefix ,config )
652652
653- def create_instances (inputfile , outdir , service_dir ,prefix ,config ):
653+ def create_instances (inputfile , outdir , service_dir_nt ,prefix ,config ):
654654 if len (outdir_struct ) != 0 :
655655 service_dir = outdir_struct ['instance' ]
656656 else :
@@ -749,14 +749,14 @@ def create_databases(execute_all=False):
749749 options = show_options (options , quit = True , menu = True , index = 1 )
750750 execute_options (options , inputfile , outdir , service_dir , prefix , config = config )
751751
752- def create_terraform_dbsystems_vm_bm (inputfile , outdir ,service_dir , prefix ,config ):
752+ def create_terraform_dbsystems_vm_bm (inputfile , outdir ,service_dir_nt , prefix ,config ):
753753 if len (outdir_struct ) != 0 :
754754 service_dir = outdir_struct ['dbsystem-vm-bm' ]
755755 else :
756756 service_dir = ""
757757 Database .create_terraform_dbsystems_vm_bm (inputfile , outdir , service_dir , prefix , config = config )
758758
759- def create_exa_infra_vmclusters (inputfile , outdir ,service_dir , prefix ,config ):
759+ def create_exa_infra_vmclusters (inputfile , outdir ,service_dir_nt , prefix ,config ):
760760 if len (outdir_struct ) != 0 :
761761 service_dir = outdir_struct ['database-exacs' ]
762762 else :
@@ -1010,7 +1010,6 @@ def execute(command):
10101010else :
10111011 print ("Make sure to execute the script for 'Fetch Compartments OCIDs to variables file' under 'CD3 Services' menu option atleast once before you continue!" )
10121012
1013- service_dir = ''
10141013## Menu Options
10151014if non_gf_tenancy :
10161015 inputs = [
0 commit comments