Skip to content

Commit 66c4b47

Browse files
authored
function app site config + format
1 parent 9aa4107 commit 66c4b47

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

terraform-infrastructure/main.tf

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,9 @@ resource "azurerm_linux_function_app" "function_app" {
8484

8585
site_config {
8686
# Other configurations can go here
87+
application_stack {
88+
python_version = "3.10"
89+
}
8790
}
8891

8992
depends_on = [azurerm_service_plan.asp]
@@ -224,11 +227,11 @@ resource "azurerm_cosmosdb_sql_database" "main" {
224227
}
225228

226229
resource "azurerm_cosmosdb_sql_container" "outputcvscontainer" {
227-
name = var.sql_container_name
228-
resource_group_name = azurerm_resource_group.rg.name
229-
account_name = azurerm_cosmosdb_account.cosmosdb.name
230-
database_name = azurerm_cosmosdb_sql_database.main.name
231-
throughput = var.throughput
230+
name = var.sql_container_name
231+
resource_group_name = azurerm_resource_group.rg.name
232+
account_name = azurerm_cosmosdb_account.cosmosdb.name
233+
database_name = azurerm_cosmosdb_sql_database.main.name
234+
throughput = var.throughput
232235
partition_key_paths = ["/definition/id"]
233236
partition_key_version = 1
234237

0 commit comments

Comments
 (0)