diff --git a/azurerm/internal/services/iothub/iothub_resource.go b/azurerm/internal/services/iothub/iothub_resource.go index 61e7c4a6658d3..1101a68d0ed87 100644 --- a/azurerm/internal/services/iothub/iothub_resource.go +++ b/azurerm/internal/services/iothub/iothub_resource.go @@ -366,6 +366,7 @@ func resourceArmIotHub() *schema.Resource { "value": { Type: schema.TypeString, Required: true, + ValidateFunc: validation.StringIsNotEmpty, }, "endpoint_names": { Type: schema.TypeList,