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 5959 sudo apt-get install -y jq zip unixodbc-dev libsnappy-dev
6060 find . -name "*.sh" -exec chmod +x {} +
6161
62- - name : Install Terraform
63- # Install Terraform CLI for infrastructure as code deployments.
64- uses : hashicorp/setup-terraform@v3
65- with :
66- terraform_version : " 1.5.0"
67- terraform_wrapper : false
68-
6962 - name : Install test dependencies
7063 # Mirroring the localstack-pro approach: install all Python dependencies
7164 # (including the localstack CLI) into a virtual environment to avoid system-level conflicts.
Original file line number Diff line number Diff line change @@ -9,4 +9,3 @@ azure-core
99python-dotenv
1010localstack
1111azlocal
12- terraform-local
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ terraform {
44 required_providers {
55 azurerm = {
66 source = " hashicorp/azurerm"
7- version = " ~>4.44 .0"
7+ version = " =4.14 .0"
88 }
99 }
1010}
@@ -17,10 +17,16 @@ provider "azurerm" {
1717 }
1818
1919 # LocalStack Azure emulator configuration
20- # Use Azure CLI authentication (which azlocal intercepts)
20+ # Uses fixed credentials that tflocal intercepts via HTTPS proxy
2121 subscription_id = " 00000000-0000-0000-0000-000000000000"
22+ tenant_id = " 00000000-0000-0000-0000-000000000000"
23+ client_id = " 00000000-0000-0000-0000-000000000000"
24+ client_secret = " fake-secret"
2225
23- use_cli = true
24- use_msi = false
25- use_oidc = false
26+ # Skip provider registration - LocalStack doesn't support this API
27+ skip_provider_registration = true
28+
29+ # Disable CLI/MSI authentication - use static credentials instead
30+ use_cli = false
31+ use_msi = false
2632}
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ terraform {
44 required_providers {
55 azurerm = {
66 source = " hashicorp/azurerm"
7- version = " ~>4.44 .0"
7+ version = " =4.14 .0"
88 }
99 }
1010}
@@ -17,10 +17,16 @@ provider "azurerm" {
1717 }
1818
1919 # LocalStack Azure emulator configuration
20- # Use Azure CLI authentication (which azlocal intercepts)
20+ # Uses fixed credentials that tflocal intercepts via HTTPS proxy
2121 subscription_id = " 00000000-0000-0000-0000-000000000000"
22+ tenant_id = " 00000000-0000-0000-0000-000000000000"
23+ client_id = " 00000000-0000-0000-0000-000000000000"
24+ client_secret = " fake-secret"
2225
23- use_cli = true
24- use_msi = false
25- use_oidc = false
26+ # Skip provider registration - LocalStack doesn't support this API
27+ skip_provider_registration = true
28+
29+ # Disable CLI/MSI authentication - use static credentials instead
30+ use_cli = false
31+ use_msi = false
2632}
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ terraform {
44 required_providers {
55 azurerm = {
66 source = " hashicorp/azurerm"
7- version = " ~>4.44 .0"
7+ version = " =4.14 .0"
88 }
99 }
1010}
@@ -17,10 +17,16 @@ provider "azurerm" {
1717 }
1818
1919 # LocalStack Azure emulator configuration
20- # Use Azure CLI authentication (which azlocal intercepts)
20+ # Uses fixed credentials that tflocal intercepts via HTTPS proxy
2121 subscription_id = " 00000000-0000-0000-0000-000000000000"
22+ tenant_id = " 00000000-0000-0000-0000-000000000000"
23+ client_id = " 00000000-0000-0000-0000-000000000000"
24+ client_secret = " fake-secret"
2225
23- use_cli = true
24- use_msi = false
25- use_oidc = false
26+ # Skip provider registration - LocalStack doesn't support this API
27+ skip_provider_registration = true
28+
29+ # Disable CLI/MSI authentication - use static credentials instead
30+ use_cli = false
31+ use_msi = false
2632}
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ terraform {
44 required_providers {
55 azurerm = {
66 source = " hashicorp/azurerm"
7- version = " ~>4.44 .0"
7+ version = " =4.14 .0"
88 }
99 }
1010}
@@ -17,10 +17,16 @@ provider "azurerm" {
1717 }
1818
1919 # LocalStack Azure emulator configuration
20- # Use Azure CLI authentication (which azlocal intercepts)
20+ # Uses fixed credentials that tflocal intercepts via HTTPS proxy
2121 subscription_id = " 00000000-0000-0000-0000-000000000000"
22+ tenant_id = " 00000000-0000-0000-0000-000000000000"
23+ client_id = " 00000000-0000-0000-0000-000000000000"
24+ client_secret = " fake-secret"
2225
23- use_cli = true
24- use_msi = false
25- use_oidc = false
26+ # Skip provider registration - LocalStack doesn't support this API
27+ skip_provider_registration = true
28+
29+ # Disable CLI/MSI authentication - use static credentials instead
30+ use_cli = false
31+ use_msi = false
2632}
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ terraform {
44 required_providers {
55 azurerm = {
66 source = " hashicorp/azurerm"
7- version = " ~>4.44 .0"
7+ version = " =4.14 .0"
88 }
99 }
1010}
@@ -17,10 +17,16 @@ provider "azurerm" {
1717 }
1818
1919 # LocalStack Azure emulator configuration
20- # Use Azure CLI authentication (which azlocal intercepts)
20+ # Uses fixed credentials that tflocal intercepts via HTTPS proxy
2121 subscription_id = " 00000000-0000-0000-0000-000000000000"
22+ tenant_id = " 00000000-0000-0000-0000-000000000000"
23+ client_id = " 00000000-0000-0000-0000-000000000000"
24+ client_secret = " fake-secret"
2225
23- use_cli = true
24- use_msi = false
25- use_oidc = false
26+ # Skip provider registration - LocalStack doesn't support this API
27+ skip_provider_registration = true
28+
29+ # Disable CLI/MSI authentication - use static credentials instead
30+ use_cli = false
31+ use_msi = false
2632}
You can’t perform that action at this time.
0 commit comments