Skip to content

Commit 38d625f

Browse files
committed
reverts
1 parent 1394dce commit 38d625f

10 files changed

Lines changed: 20 additions & 30 deletions

File tree

samples/function-app-managed-identity/python/terraform/deploy.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ echo "[DEBUG] TERRAFORM command location: $(which $TERRAFORM 2>/dev/null || echo
5454
# Enable Terraform debug logging
5555
export TF_LOG=DEBUG
5656
export TF_LOG_PATH="$CURRENT_DIR/terraform-debug.log"
57+
echo "[DEBUG] Checking what tflocal does..."echo "[DEBUG] tflocal version: $($TERRAFORM version 2>&1 | head -1)"echo "[DEBUG] Contents of current directory before init:"ls -la . 2>&1 | head -20
5758
echo "[DEBUG] Terraform debug logging enabled: TF_LOG=DEBUG, TF_LOG_PATH=$TF_LOG_PATH"
5859

5960
echo "Initializing Terraform..."

samples/function-app-managed-identity/python/terraform/providers.tf

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,8 @@ provider "azurerm" {
1717
}
1818

1919
# LocalStack Azure emulator configuration
20-
subscription_id = "00000000-0000-0000-0000-000000000000"
21-
tenant_id = "00000000-0000-0000-0000-000000000000"
22-
client_id = "00000000-0000-0000-0000-000000000000"
23-
client_secret = "fake-secret"
24-
25-
use_cli = false
20+
# Use Azure CLI authentication (which azlocal intercepts)
21+
use_cli = true
2622
use_msi = false
23+
use_oidc = false
2724
}

samples/function-app-storage-http/dotnet/terraform/deploy.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ echo "[DEBUG] TERRAFORM command location: $(which $TERRAFORM 2>/dev/null || echo
5353
# Enable Terraform debug logging
5454
export TF_LOG=DEBUG
5555
export TF_LOG_PATH="$CURRENT_DIR/terraform-debug.log"
56+
echo "[DEBUG] Checking what tflocal does..."echo "[DEBUG] tflocal version: $($TERRAFORM version 2>&1 | head -1)"echo "[DEBUG] Contents of current directory before init:"ls -la . 2>&1 | head -20
5657
echo "[DEBUG] Terraform debug logging enabled: TF_LOG=DEBUG, TF_LOG_PATH=$TF_LOG_PATH"
5758

5859
echo "Initializing Terraform..."

samples/function-app-storage-http/dotnet/terraform/providers.tf

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,8 @@ provider "azurerm" {
1717
}
1818

1919
# LocalStack Azure emulator configuration
20-
subscription_id = "00000000-0000-0000-0000-000000000000"
21-
tenant_id = "00000000-0000-0000-0000-000000000000"
22-
client_id = "00000000-0000-0000-0000-000000000000"
23-
client_secret = "fake-secret"
24-
25-
use_cli = false
20+
# Use Azure CLI authentication (which azlocal intercepts)
21+
use_cli = true
2622
use_msi = false
23+
use_oidc = false
2724
}

samples/web-app-cosmosdb-mongodb-api/python/terraform/deploy.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ echo "[DEBUG] TERRAFORM command location: $(which $TERRAFORM 2>/dev/null || echo
5353
# Enable Terraform debug logging
5454
export TF_LOG=DEBUG
5555
export TF_LOG_PATH="$CURRENT_DIR/terraform-debug.log"
56+
echo "[DEBUG] Checking what tflocal does..."echo "[DEBUG] tflocal version: $($TERRAFORM version 2>&1 | head -1)"echo "[DEBUG] Contents of current directory before init:"ls -la . 2>&1 | head -20
5657
echo "[DEBUG] Terraform debug logging enabled: TF_LOG=DEBUG, TF_LOG_PATH=$TF_LOG_PATH"
5758

5859
echo "Initializing Terraform..."

samples/web-app-cosmosdb-mongodb-api/python/terraform/providers.tf

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,8 @@ provider "azurerm" {
1717
}
1818

1919
# LocalStack Azure emulator configuration
20-
subscription_id = "00000000-0000-0000-0000-000000000000"
21-
tenant_id = "00000000-0000-0000-0000-000000000000"
22-
client_id = "00000000-0000-0000-0000-000000000000"
23-
client_secret = "fake-secret"
24-
25-
use_cli = false
20+
# Use Azure CLI authentication (which azlocal intercepts)
21+
use_cli = true
2622
use_msi = false
23+
use_oidc = false
2724
}

samples/web-app-managed-identity/python/terraform/deploy.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ echo "[DEBUG] TERRAFORM command location: $(which $TERRAFORM 2>/dev/null || echo
5454
# Enable Terraform debug logging
5555
export TF_LOG=DEBUG
5656
export TF_LOG_PATH="$CURRENT_DIR/terraform-debug.log"
57+
echo "[DEBUG] Checking what tflocal does..."echo "[DEBUG] tflocal version: $($TERRAFORM version 2>&1 | head -1)"echo "[DEBUG] Contents of current directory before init:"ls -la . 2>&1 | head -20
5758
echo "[DEBUG] Terraform debug logging enabled: TF_LOG=DEBUG, TF_LOG_PATH=$TF_LOG_PATH"
5859

5960
echo "Initializing Terraform..."

samples/web-app-managed-identity/python/terraform/providers.tf

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,8 @@ provider "azurerm" {
1717
}
1818

1919
# LocalStack Azure emulator configuration
20-
subscription_id = "00000000-0000-0000-0000-000000000000"
21-
tenant_id = "00000000-0000-0000-0000-000000000000"
22-
client_id = "00000000-0000-0000-0000-000000000000"
23-
client_secret = "fake-secret"
24-
25-
use_cli = false
20+
# Use Azure CLI authentication (which azlocal intercepts)
21+
use_cli = true
2622
use_msi = false
23+
use_oidc = false
2724
}

samples/web-app-sql-database/python/terraform/deploy.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ echo "[DEBUG] TERRAFORM command location: $(which $TERRAFORM 2>/dev/null || echo
5858
# Enable Terraform debug logging
5959
export TF_LOG=DEBUG
6060
export TF_LOG_PATH="$CURRENT_DIR/terraform-debug.log"
61+
echo "[DEBUG] Checking what tflocal does..."echo "[DEBUG] tflocal version: $($TERRAFORM version 2>&1 | head -1)"echo "[DEBUG] Contents of current directory before init:"ls -la . 2>&1 | head -20
6162
echo "[DEBUG] Terraform debug logging enabled: TF_LOG=DEBUG, TF_LOG_PATH=$TF_LOG_PATH"
6263

6364
echo "Initializing Terraform..."

samples/web-app-sql-database/python/terraform/providers.tf

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,8 @@ provider "azurerm" {
1717
}
1818

1919
# LocalStack Azure emulator configuration
20-
subscription_id = "00000000-0000-0000-0000-000000000000"
21-
tenant_id = "00000000-0000-0000-0000-000000000000"
22-
client_id = "00000000-0000-0000-0000-000000000000"
23-
client_secret = "fake-secret"
24-
25-
use_cli = false
20+
# Use Azure CLI authentication (which azlocal intercepts)
21+
use_cli = true
2622
use_msi = false
23+
use_oidc = false
2724
}

0 commit comments

Comments
 (0)