Skip to content

Commit

Permalink
azurerm_cdn_endpoint - New value for operator of `url_path_condit…
Browse files Browse the repository at this point in the history
…ion`: `RegEx` and `Wildcard`. (#16385)

Add new allowed values for `operator` of `url_path_condition`: `RegEx` and `Wildcard`
  • Loading branch information
magodo authored Apr 14, 2022
1 parent 08c3c63 commit efc7310
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions internal/services/cdn/deliveryruleconditions/url_path.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ func URLPath() *pluginsdk.Resource {
string(cdn.URLPathOperatorGreaterThanOrEqual),
string(cdn.URLPathOperatorLessThan),
string(cdn.URLPathOperatorLessThanOrEqual),
string(cdn.URLPathOperatorRegEx),
string(cdn.URLPathOperatorWildcard),
}, false),
},

Expand Down
2 changes: 1 addition & 1 deletion website/docs/r/cdn_endpoint.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -384,7 +384,7 @@ A `url_file_name_condition` block supports the following:

A `url_path_condition` block supports the following:

* `operator` - (Required) Valid values are `Any`, `BeginsWith`, `Contains`, `EndsWith`, `Equal`, `GreaterThan`, `GreaterThanOrEqual`, `LessThan` and `LessThanOrEqual`.
* `operator` - (Required) Valid values are `Any`, `BeginsWith`, `Contains`, `EndsWith`, `Equal`, `GreaterThan`, `GreaterThanOrEqual`, `LessThan`, `LessThanOrEqual`, `RegEx` and `Wildcard`.

* `negate_condition` - (Optional) Defaults to `false`.

Expand Down

0 comments on commit efc7310

Please sign in to comment.