diff --git a/azurerm/internal/services/mssql/tests/resource_arm_mssql_elasticpool_test.go b/azurerm/internal/services/mssql/tests/resource_arm_mssql_elasticpool_test.go index 5c4555b8bfba2..e7f8786d880fd 100644 --- a/azurerm/internal/services/mssql/tests/resource_arm_mssql_elasticpool_test.go +++ b/azurerm/internal/services/mssql/tests/resource_arm_mssql_elasticpool_test.go @@ -334,13 +334,22 @@ func testAccAzureRMMsSqlElasticPool_requiresImport(data acceptance.TestData) str %s resource "azurerm_mssql_elasticpool" "import" { - name = "${azurerm_mssql_elasticpool.test.name}" - resource_group_name = "${azurerm_mssql_elasticpool.test.resource_group_name}" - location = "${azurerm_mssql_elasticpool.test.location}" - server_name = "${azurerm_mssql_elasticpool.test.server_name}" - max_size_bytes = "${azurerm_mssql_elasticpool.test.max_size_bytes}" - sku = "${azurerm_mssql_elasticpool.test.sku}" - per_database_settings = "${azurerm_mssql_elasticpool.test.per_database_settings}" + name = "${azurerm_mssql_elasticpool.test.name}" + resource_group_name = "${azurerm_mssql_elasticpool.test.resource_group_name}" + location = "${azurerm_mssql_elasticpool.test.location}" + server_name = "${azurerm_mssql_elasticpool.test.server_name}" + max_size_bytes = 5242880000 + + sku { + name = azurerm_mssql_elasticpool.test.sku.0.name + tier = azurerm_mssql_elasticpool.test.sku.0.tier + capacity = azurerm_mssql_elasticpool.test.sku.0.capacity + } + + per_database_settings { + min_capacity = azurerm_mssql_elasticpool.test.per_database_settings.0.min_capacity + max_capacity = azurerm_mssql_elasticpool.test.per_database_settings.0.max_capacity + } } `, template) }