-
Notifications
You must be signed in to change notification settings - Fork 4.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
azurerm_cdn_endpoint - fix API error when given an empty `origin_host…
…_header` (#11852) Confirmed with service team, the request payload can't contain an empty string for the origin_host_header, otherwise, the service will raise following error: { "error": { "code": "BadRequest", "message": "OriginHostHeader \"\" is invalid. It must be a valid domain name, IP version 4, or IP version 6." } } Also update the document of this property to remove the line about default, since that is not true. Meanwhile, this should fix some of the acctest failures. Fixes #8870, #11107.
- Loading branch information
Showing
3 changed files
with
9 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters