diff --git a/azurerm/resource_arm_app_service_plan.go b/azurerm/resource_arm_app_service_plan.go index 8d2b4b97e8553..3e5be240bbc19 100644 --- a/azurerm/resource_arm_app_service_plan.go +++ b/azurerm/resource_arm_app_service_plan.go @@ -59,6 +59,7 @@ func resourceArmAppServicePlan() *schema.Resource { "properties": { Type: schema.TypeList, Optional: true, + Computed: true, MaxItems: 1, Elem: &schema.Resource{ Schema: map[string]*schema.Schema{ diff --git a/azurerm/resource_arm_app_service_plan_test.go b/azurerm/resource_arm_app_service_plan_test.go index b5f349d9066f6..f8cdadf047f20 100644 --- a/azurerm/resource_arm_app_service_plan_test.go +++ b/azurerm/resource_arm_app_service_plan_test.go @@ -81,8 +81,9 @@ func TestAccAzureRMAppServicePlan_complete(t *testing.T) { Config: config, Check: resource.ComposeTestCheckFunc( testCheckAzureRMAppServicePlanExists(resourceName), - resource.TestCheckResourceAttr(resourceName, "properties.0.maximum_number_of_workers", "3"), + resource.TestCheckResourceAttr(resourceName, "properties.0.maximum_number_of_workers", "10"), resource.TestCheckResourceAttr(resourceName, "properties.0.per_site_scaling", "true"), + resource.TestCheckResourceAttr(resourceName, "properties.0.reserved", "false"), ), }, },