diff --git a/internal/services/appservice/linux_function_app_resource_test.go b/internal/services/appservice/linux_function_app_resource_test.go index d3c5e87e7b5e..dc4670511918 100644 --- a/internal/services/appservice/linux_function_app_resource_test.go +++ b/internal/services/appservice/linux_function_app_resource_test.go @@ -3177,10 +3177,10 @@ resource "azurerm_subnet" "test" { } resource "azurerm_linux_function_app" "test" { - name = "acctest-LFA-%d" - location = azurerm_resource_group.test.location - resource_group_name = azurerm_resource_group.test.name - service_plan_id = azurerm_service_plan.test.id + name = "acctest-LFA-%d" + location = azurerm_resource_group.test.location + resource_group_name = azurerm_resource_group.test.name + service_plan_id = azurerm_service_plan.test.id storage_account_name = azurerm_storage_account.test.name storage_account_access_key = azurerm_storage_account.test.primary_access_key @@ -3189,6 +3189,7 @@ resource "azurerm_linux_function_app" "test" { } + `, r.template(data, planSku), data.RandomInteger, data.RandomInteger) } diff --git a/internal/services/appservice/linux_function_app_slot_resource_test.go b/internal/services/appservice/linux_function_app_slot_resource_test.go index 02318c1bf31e..3cf51a1c9c07 100644 --- a/internal/services/appservice/linux_function_app_slot_resource_test.go +++ b/internal/services/appservice/linux_function_app_slot_resource_test.go @@ -2569,10 +2569,11 @@ resource "azurerm_linux_function_app_slot" "test" { function_app_id = azurerm_linux_function_app.test.id storage_account_name = azurerm_storage_account.test.name storage_account_access_key = azurerm_storage_account.test.primary_access_key - + site_config {} } + `, r.template(data, planSku), data.RandomInteger, data.RandomInteger) }