diff --git a/azurerm/resource_arm_batch_pool.go b/azurerm/resource_arm_batch_pool.go index 42d3f8038ddf..5834c1f28c87 100644 --- a/azurerm/resource_arm_batch_pool.go +++ b/azurerm/resource_arm_batch_pool.go @@ -59,6 +59,7 @@ func resourceArmBatchPool() *schema.Resource { Type: schema.TypeInt, Optional: true, Default: 1, + ForceNew: true, ValidateFunc: validation.IntAtLeast(1), }, "fixed_scale": { diff --git a/website/docs/r/batch_pool.html.markdown b/website/docs/r/batch_pool.html.markdown index aec085ecdc54..24edc13cf02c 100644 --- a/website/docs/r/batch_pool.html.markdown +++ b/website/docs/r/batch_pool.html.markdown @@ -46,7 +46,7 @@ resource "azurerm_batch_pool" "test" { display_name = "Test Acc Pool Auto" vm_size = "Standard_A1" node_agent_sku_id = "batch.node.ubuntu 16.04" - + auto_scale { evaluation_interval = "PT15M" formula = <