File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -29,14 +29,15 @@ def set_env(aws_profile):
2929 # Create the path to the terraform directory
3030 current_directory = os .path .dirname (os .path .abspath (__file__ ))
3131 # Construct the path to the parent directory
32- parent_directory = os .path .join (current_directory , ".." )
32+ parent_directory = os .path .join (current_directory , "../.. " )
3333 # Construct the path to the "terraform" directory
34- terraform_directory = os .path .join (parent_directory , "terraform" )
34+ terraform_directory = os .path .join (parent_directory , "infrastructure/ terraform" )
3535 # Change the working directory to the "terraform" directory
3636 os .chdir (terraform_directory )
3737 os .environ ["AWS_PROFILE" ] = aws_profile
3838 # Now you are in the terraform directory
3939 print ("Terraform Directory:" , os .getcwd ())
40+ exit
4041
4142
4243def list_pr_workspaces (prefix ):
You can’t perform that action at this time.
0 commit comments