The current redirect rules are only for host redirects, and don't support rerouting based on specific url path. To avoid an impact on any existing usage of the rule set, this adds another rule set for url redirection with all possible parameters added as configurable options.
Other finding
This also fixes a small bug with the cdn frontdoor route: with redirects specified the tf failed to apply with an error in the rule set ids The 'true' value is string, but the 'false' value is tuple. The redirect id just needed to be in a list.
Overview
The current redirect rules are only for host redirects, and don't support rerouting based on specific url path. To avoid an impact on any existing usage of the rule set, this adds another rule set for url redirection with all possible parameters added as configurable options.
Other finding
This also fixes a small bug with the cdn frontdoor route: with redirects specified the tf failed to apply with an error in the rule set ids
The 'true' value is string, but the 'false' value is tuple.
The redirect id just needed to be in a list.