@@ -288,7 +288,7 @@ def export_subnets(inputfile, outdir, service_dir,prefix,config,export_regions,
288
288
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 " )
289
289
290
290
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 ):
292
292
if len (outdir_struct ) != 0 :
293
293
service_dir = outdir_struct ['nsg' ]
294
294
else :
@@ -606,7 +606,7 @@ def export_drg_route_rules(inputfile, outdir, service_dir, prefix, config, non_g
606
606
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 )
607
607
608
608
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 ):
610
610
if len (outdir_struct ) != 0 :
611
611
service_dir = outdir_struct ['nsg' ]
612
612
else :
@@ -650,7 +650,7 @@ def create_compute():
650
650
options = show_options (options , quit = True , menu = True , index = 1 )
651
651
execute_options (options , inputfile , outdir , service_dir ,prefix ,config )
652
652
653
- def create_instances (inputfile , outdir , service_dir ,prefix ,config ):
653
+ def create_instances (inputfile , outdir , service_dir_nt ,prefix ,config ):
654
654
if len (outdir_struct ) != 0 :
655
655
service_dir = outdir_struct ['instance' ]
656
656
else :
@@ -749,14 +749,14 @@ def create_databases(execute_all=False):
749
749
options = show_options (options , quit = True , menu = True , index = 1 )
750
750
execute_options (options , inputfile , outdir , service_dir , prefix , config = config )
751
751
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 ):
753
753
if len (outdir_struct ) != 0 :
754
754
service_dir = outdir_struct ['dbsystem-vm-bm' ]
755
755
else :
756
756
service_dir = ""
757
757
Database .create_terraform_dbsystems_vm_bm (inputfile , outdir , service_dir , prefix , config = config )
758
758
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 ):
760
760
if len (outdir_struct ) != 0 :
761
761
service_dir = outdir_struct ['database-exacs' ]
762
762
else :
@@ -1010,7 +1010,6 @@ def execute(command):
1010
1010
else :
1011
1011
print ("Make sure to execute the script for 'Fetch Compartments OCIDs to variables file' under 'CD3 Services' menu option atleast once before you continue!" )
1012
1012
1013
-
1014
1013
## Menu Options
1015
1014
if non_gf_tenancy :
1016
1015
inputs = [
0 commit comments