Skip to content

Commit 7404edb

Browse files
committed
use az cli
1 parent 9691d33 commit 7404edb

5 files changed

Lines changed: 10 additions & 10 deletions

File tree

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ provider "azurerm" {
2222
client_id = "00000000-0000-0000-0000-000000000000"
2323
client_secret = "fake-secret"
2424

25-
# Disable CLI and MSI authentication
26-
use_cli = false
25+
# Use Azure CLI (azlocal) for authentication
26+
use_cli = true
2727
use_msi = false
2828
}

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ provider "azurerm" {
2222
client_id = "00000000-0000-0000-0000-000000000000"
2323
client_secret = "fake-secret"
2424

25-
# Disable CLI and MSI authentication
26-
use_cli = false
25+
# Use Azure CLI (azlocal) for authentication
26+
use_cli = true
2727
use_msi = false
2828
}

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ provider "azurerm" {
2222
client_id = "00000000-0000-0000-0000-000000000000"
2323
client_secret = "fake-secret"
2424

25-
# Disable CLI and MSI authentication
26-
use_cli = false
25+
# Use Azure CLI (azlocal) for authentication
26+
use_cli = true
2727
use_msi = false
2828
}

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ provider "azurerm" {
2222
client_id = "00000000-0000-0000-0000-000000000000"
2323
client_secret = "fake-secret"
2424

25-
# Disable CLI and MSI authentication
26-
use_cli = false
25+
# Use Azure CLI (azlocal) for authentication
26+
use_cli = true
2727
use_msi = false
2828
}

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ provider "azurerm" {
2222
client_id = "00000000-0000-0000-0000-000000000000"
2323
client_secret = "fake-secret"
2424

25-
# Disable CLI and MSI authentication
26-
use_cli = false
25+
# Use Azure CLI (azlocal) for authentication
26+
use_cli = true
2727
use_msi = false
2828
}

0 commit comments

Comments
 (0)