File tree Expand file tree Collapse file tree
function-app-managed-identity/python/terraform
function-app-storage-http/dotnet/terraform
web-app-cosmosdb-mongodb-api/python/terraform
web-app-managed-identity/python/terraform
web-app-sql-database/python/terraform Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -61,6 +61,8 @@ if command -v azlocal >/dev/null 2>&1; then
6161 azlocal login || true
6262 echo " [DEBUG] Starting azlocal interception..."
6363 azlocal start_interception
64+ echo " [DEBUG] Setting default subscription..."
65+ azlocal account set --subscription " 00000000-0000-0000-0000-000000000000" || true
6466 echo " [DEBUG] Checking azlocal account status..."
6567 azlocal account show --query " {Environment:environmentName, Subscription:id}" --output json 2>&1 || echo " [DEBUG] azlocal account show failed"
6668else
Original file line number Diff line number Diff line change @@ -18,7 +18,9 @@ provider "azurerm" {
1818
1919 # LocalStack Azure emulator configuration
2020 # Use Azure CLI authentication (which azlocal intercepts)
21- use_cli = true
22- use_msi = false
21+ subscription_id = " 00000000-0000-0000-0000-000000000000"
22+
23+ use_cli = true
24+ use_msi = false
2325 use_oidc = false
2426}
Original file line number Diff line number Diff line change @@ -18,7 +18,9 @@ provider "azurerm" {
1818
1919 # LocalStack Azure emulator configuration
2020 # Use Azure CLI authentication (which azlocal intercepts)
21- use_cli = true
22- use_msi = false
21+ subscription_id = " 00000000-0000-0000-0000-000000000000"
22+
23+ use_cli = true
24+ use_msi = false
2325 use_oidc = false
2426}
Original file line number Diff line number Diff line change @@ -18,7 +18,9 @@ provider "azurerm" {
1818
1919 # LocalStack Azure emulator configuration
2020 # Use Azure CLI authentication (which azlocal intercepts)
21- use_cli = true
22- use_msi = false
21+ subscription_id = " 00000000-0000-0000-0000-000000000000"
22+
23+ use_cli = true
24+ use_msi = false
2325 use_oidc = false
2426}
Original file line number Diff line number Diff line change @@ -18,7 +18,9 @@ provider "azurerm" {
1818
1919 # LocalStack Azure emulator configuration
2020 # Use Azure CLI authentication (which azlocal intercepts)
21- use_cli = true
22- use_msi = false
21+ subscription_id = " 00000000-0000-0000-0000-000000000000"
22+
23+ use_cli = true
24+ use_msi = false
2325 use_oidc = false
2426}
Original file line number Diff line number Diff line change @@ -18,7 +18,9 @@ provider "azurerm" {
1818
1919 # LocalStack Azure emulator configuration
2020 # Use Azure CLI authentication (which azlocal intercepts)
21- use_cli = true
22- use_msi = false
21+ subscription_id = " 00000000-0000-0000-0000-000000000000"
22+
23+ use_cli = true
24+ use_msi = false
2325 use_oidc = false
2426}
You can’t perform that action at this time.
0 commit comments