diff --git a/internal/services/datafactory/data_factory_trigger_custom_event_resource.go b/internal/services/datafactory/data_factory_trigger_custom_event_resource.go index 45f4ebe086ac..a869dd40473d 100644 --- a/internal/services/datafactory/data_factory_trigger_custom_event_resource.go +++ b/internal/services/datafactory/data_factory_trigger_custom_event_resource.go @@ -125,14 +125,12 @@ func resourceDataFactoryTriggerCustomEvent() *pluginsdk.Resource { Type: pluginsdk.TypeString, Optional: true, ValidateFunc: validation.StringIsNotEmpty, - AtLeastOneOf: []string{"subject_begins_with", "subject_ends_with"}, }, "subject_ends_with": { Type: pluginsdk.TypeString, Optional: true, ValidateFunc: validation.StringIsNotEmpty, - AtLeastOneOf: []string{"subject_begins_with", "subject_ends_with"}, }, }, } diff --git a/website/docs/r/data_factory_trigger_custom_event.html.markdown b/website/docs/r/data_factory_trigger_custom_event.html.markdown index 4e2fb3f2ac22..79a94d72cc26 100644 --- a/website/docs/r/data_factory_trigger_custom_event.html.markdown +++ b/website/docs/r/data_factory_trigger_custom_event.html.markdown @@ -86,8 +86,6 @@ The following arguments are supported: * `subject_ends_with` - (Optional) The pattern that event subject ends with for trigger to fire. -~> **Note:** At least one of `subject_begins_with` and `subject_ends_with` must be set. - --- A `pipeline` block supports the following: