-
Notifications
You must be signed in to change notification settings - Fork 216
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Avoid creating .azcopy under HOME if plan/log location is specified elsewhere #1782
Conversation
There are 2 variables here. Log file loc and plan file loc. If one of the locations is specified by an env variable and other is not, we will still create the .azcopy folder to accommodate the file for which user has not provided a location. Only in the case of both env variables being provided will we skip creating the .azcopy folder. One of my concerns... something that I'll have to see is if this folder is used for something other than plan and log files. The location of this folder is being shared by |
In such a case (when a token json file is being created), the folder .azcopy will be created, and the token will be stored there. The code - |
Changes suggested: the OAuth token should be where the plan files are located. This way if the user has provided both plan and log locations, the OAuth will be where plan files are located, and the .azcopy folder will not be created at all. Make changes accordingly |
…home' into tiverma_avoiding_creation_under_home
No description provided.