diff --git a/azurerm/resource_arm_iothub.go b/azurerm/resource_arm_iothub.go index 8b6b19c0caad5..70dc20f290f35 100755 --- a/azurerm/resource_arm_iothub.go +++ b/azurerm/resource_arm_iothub.go @@ -162,9 +162,10 @@ func resourceArmIotHub() *schema.Resource { }, "endpoint": { - Type: schema.TypeList, - Optional: true, - Computed: true, + Type: schema.TypeList, + Optional: true, + Computed: true, + Deprecated: "Use one of the `azurerm_iothub_endpoint_storage_container`, `azurerm_iothub_endpoint_eventhub`, `azurerm_iothub_endpoint_servicebus_queue`, `azurerm_iothub_endpoint_servicebus_topic` resources instead.", Elem: &schema.Resource{ Schema: map[string]*schema.Schema{ "type": {