modified
parent
29329990c8
commit
7fecef4891
|
|
@ -89,7 +89,7 @@ def main(configFile,output_path):
|
|||
|
||||
# generate terraform file
|
||||
for environment,ev in environments.items():
|
||||
folder_path = os.path.join(cwd,op,environment.replace('-','_'),"slo")
|
||||
folder_path = os.path.join(op,environment.replace('-','_'),"slo")
|
||||
# print("folder_path:",folder_path)
|
||||
if not os.path.exists(folder_path):
|
||||
os.makedirs(folder_path)
|
||||
|
|
@ -136,7 +136,7 @@ if __name__ == "__main__":
|
|||
# for each folder
|
||||
arguments = sys.argv[1].split(',')
|
||||
for arg in arguments:
|
||||
pathname = os.path.join(cwd,arg)
|
||||
pathname = os.path.join(arg)
|
||||
# return path of slo config files
|
||||
configFiles = glob.glob(pathname=pathname + '\\**\\[TP_]*.yaml',
|
||||
# root_dir=os.path.join(cwd,os.path.basename(arg)),
|
||||
|
|
|
|||
Loading…
Reference in New Issue