File tree Expand file tree Collapse file tree
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 @@ -18,4 +18,17 @@ provider "azurerm" {
1818
1919 # LocalStack Azure emulator uses a fixed subscription id
2020 subscription_id = " 00000000-0000-0000-0000-000000000000"
21- }
21+
22+ # The following configs are required for local testing
23+ # Skip provider registration and authentication for LocalStack
24+ resource_provider_registrations = " none"
25+
26+ # Use environment variables or static values for LocalStack
27+ tenant_id = " 00000000-0000-0000-0000-000000000000"
28+ client_id = " 00000000-0000-0000-0000-000000000000"
29+ client_secret = " fake-secret"
30+
31+ # Disable authentication checks
32+ use_cli = false
33+ use_msi = false
34+ }
Original file line number Diff line number Diff line change @@ -18,4 +18,17 @@ provider "azurerm" {
1818
1919 # LocalStack Azure emulator uses a fixed subscription id
2020 subscription_id = " 00000000-0000-0000-0000-000000000000"
21- }
21+
22+ # The following configs are required for local testing
23+ # Skip provider registration and authentication for LocalStack
24+ resource_provider_registrations = " none"
25+
26+ # Use environment variables or static values for LocalStack
27+ tenant_id = " 00000000-0000-0000-0000-000000000000"
28+ client_id = " 00000000-0000-0000-0000-000000000000"
29+ client_secret = " fake-secret"
30+
31+ # Disable authentication checks
32+ use_cli = false
33+ use_msi = false
34+ }
Original file line number Diff line number Diff line change @@ -18,4 +18,17 @@ provider "azurerm" {
1818
1919 # LocalStack Azure emulator uses a fixed subscription id
2020 subscription_id = " 00000000-0000-0000-0000-000000000000"
21- }
21+
22+ # The following configs are required for local testing
23+ # Skip provider registration and authentication for LocalStack
24+ resource_provider_registrations = " none"
25+
26+ # Use environment variables or static values for LocalStack
27+ tenant_id = " 00000000-0000-0000-0000-000000000000"
28+ client_id = " 00000000-0000-0000-0000-000000000000"
29+ client_secret = " fake-secret"
30+
31+ # Disable authentication checks
32+ use_cli = false
33+ use_msi = false
34+ }
Original file line number Diff line number Diff line change @@ -18,4 +18,17 @@ provider "azurerm" {
1818
1919 # LocalStack Azure emulator uses a fixed subscription id
2020 subscription_id = " 00000000-0000-0000-0000-000000000000"
21- }
21+
22+ # The following configs are required for local testing
23+ # Skip provider registration and authentication for LocalStack
24+ resource_provider_registrations = " none"
25+
26+ # Use environment variables or static values for LocalStack
27+ tenant_id = " 00000000-0000-0000-0000-000000000000"
28+ client_id = " 00000000-0000-0000-0000-000000000000"
29+ client_secret = " fake-secret"
30+
31+ # Disable authentication checks
32+ use_cli = false
33+ use_msi = false
34+ }
You can’t perform that action at this time.
0 commit comments