-
Notifications
You must be signed in to change notification settings - Fork 10.1k
Description
Terraform Version
v0.11.1
...
Terraform Configuration Files
...I had upgraded from version 0.9. I've been using Terraform with automation through Jenkins where environments would be created and destroyed.
After each automation iteration, the terraform config files would be deleted and checked out from SCM repo.
After installation of 0.11.1, I had to run "terraform init" command and it downloaded the azurerm plugin in .terraform/plugins/linux_amd64/terraform-provider-azurerm_v0.3.3_x4 folder which has the config files and not in the home directory as mentioned here https://www.terraform.io/docs/configuration/providers.html#third-party-plugins
Now when Jenkins tries to delete the repo to checkout again, it complains that it is not able to delete the above plugin probably due to a file lock.
Why the plugins are installed inside of the working directory and not in the home directory ? Is it possible to install the plugin in a different folder during init so that automation is possible?
Thanks,
Expected Behavior
Plugins to be installed in the HOME directory
Actual Behavior
Plugins installed in the working directory