Skip to content

Commit

Permalink
azurerm_data_factory_trigger_custom_event: Allow subject_begins_wit…
Browse files Browse the repository at this point in the history
…h and subject_ends_with to both not be set (#25932)

* #25929 azurerm_data_factory_trigger_custom_event requires a non-empty string for subject_begins_with or subject_ends_with when the Azure UI does not

* #25929
  • Loading branch information
jonnyry committed May 14, 2024
1 parent 5a9b9f1 commit 849f0b4
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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"},
},
},
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 849f0b4

Please sign in to comment.