databricks-cli/bundle/deploy
Andrew Nester 48e293c72c
Pass `USERPROFILE` environment variable to Terraform (#1001)
## Changes
It appears that `USERPROFILE` env variable indicates where Azure CLI
stores configuration data (aka `.azure` folder).

https://learn.microsoft.com/en-us/cli/azure/azure-cli-configuration#cli-configuration-file

Passing it to terraform executable allows it to correctly authenticate
using Azure CLI.

Fixes #983 

## Tests
Ran deployment on Window VM before and after the fix.
2023-11-22 09:16:28 +00:00
..
files Make `file_path` and `artifact_path` fields consistent with json tag (#987) 2023-11-15 13:37:26 +00:00
lock Fix locker unlock for destroy (#492) 2023-06-19 15:57:25 +02:00
metadata Replace direct calls with `bundle.Apply` (#990) 2023-11-15 14:19:18 +00:00
terraform Pass `USERPROFILE` environment variable to Terraform (#1001) 2023-11-22 09:16:28 +00:00