Skip to content

Commit 82d4cba

Browse files
authored
fix: unsetting arm subscription (#284)
1 parent fc1161d commit 82d4cba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ALZ/Private/Deploy-Accelerator-Helpers/Invoke-Terraform.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ function Invoke-Terraform {
148148

149149
if($removeSubscriptionId) {
150150
Write-Verbose "Removing environment variable ARM_SUBSCRIPTION_ID that was set prior to this run"
151-
Remove-Item $env:ARM_SUBSCRIPTION_ID = $null
151+
$env:ARM_SUBSCRIPTION_ID = $null
152152
}
153153

154154
# Stop and display timer

0 commit comments

Comments
 (0)