-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
azurerm_application_gateway: can combine include_path with targ… (#6175)
* azurerm_application_gateway: can combine include_path with target_url Redirecting say http://foo/path?query to http://bar/ include_path controls whether it will go to http://bar/path or http://bar/ This is a perfectly valid option in a redirect_configuration in combination with target_url. Currently the code gives an error if you use them in combination and omits it from the request if target_url is set. Omitting include_path has strange results in the Azure Portal (no radio button selected) and "null" defaults to true whereas the documentation says include_path should default to false. This change makes the behavior consistent with the documentation. * Update resource_arm_application_gateway_test.go Co-authored-by: Emanuel Rietveld <[email protected]> Co-authored-by: Matthew Frahry <[email protected]>
- Loading branch information
1 parent
030e9fe
commit 69cdfbf
Showing
2 changed files
with
150 additions
and
5 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