Ubuntu – How to get powershell environment variable value in terraform
Running powershell (7.4.1) and terraform (1.7.5) on Ubuntu (20.04). I have created a powershell profile in which I set some environment variables for terraform to use when executing it. For example, in 'Microsoft.PowerShell_profile.ps1' I have set. $env:DA_SUBSCRIPTION_ID="abcd1234" gci env:DA_* And…