We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b93e5d2 commit 7e8f015Copy full SHA for 7e8f015
azd-hooks/scripts/hooks/preprovision/run_preconfig.ps1
@@ -144,8 +144,8 @@ terraform {
144
Write-Host "Checking if RS_CONTAINER_NAME environment variable exists..."
145
# Check if RS_CONTAINER_NAME azd environment variable exists
146
try {
147
- Write-Host $RS_CONTAINER_NAME
148
- $rsContainerName = $RS_CONTAINER_NAME
+ Write-Host $LASTEXITCODE
+ $rsContainerName = '$env:RS_CONTAINER_NAME'
149
if ($LASTEXITCODE -eq 0 -and $rsContainerName) {
150
Write-Host "✓ RS_CONTAINER_NAME environment variable exists with value: $rsContainerName"
151
0 commit comments