Skip to content

Commit

Permalink
Add Validation on enrichment value
Browse files Browse the repository at this point in the history
Value cannot be empty
  • Loading branch information
royto committed Dec 8, 2020
1 parent b81199f commit 7df4dbd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions azurerm/internal/services/iothub/iothub_resource.go
Original file line number Diff line number Diff line change
Expand Up @@ -366,6 +366,7 @@ func resourceArmIotHub() *schema.Resource {
"value": {
Type: schema.TypeString,
Required: true,
ValidateFunc: validation.StringIsNotEmpty,
},
"endpoint_names": {
Type: schema.TypeList,
Expand Down

0 comments on commit 7df4dbd

Please sign in to comment.