mirror of
https://github.com/ansible-collections/google.cloud.git
synced 2025-04-06 02:40:29 -07:00
* Fix path_matcher in region url maps The default_service in path_matcher is actually not required as it should be default_service or default_url_redirect. Further info in https://cloud.google.com/compute/docs/reference/rest/v1/regionUrlMaps > pathMatchers[].defaultService >> Only one of defaultService, defaultUrlRedirect or defaultRouteAction.weightedBackendService must be set. * Add testcase * Update function name Co-authored-by: Gilles Margerie <gilles.margerie@gamesys.co.uk> Signed-off-by: Modular Magician <magic-modules@google.com> Co-authored-by: Gilles Margerie <gilles.margerie@gamesys.co.uk>
This commit is contained in:
parent
1f40f149db
commit
83b477f91d
1 changed files with 2 additions and 2 deletions
|
@ -124,7 +124,7 @@ options:
|
|||
key ''selfLink'' and value of your resource''s selfLink Alternatively, you
|
||||
can add `register: name-of-resource` to a gcp_compute_region_backend_service
|
||||
task and then set this default_service field to "{{ name-of-resource }}"'
|
||||
required: true
|
||||
required: false
|
||||
type: dict
|
||||
description:
|
||||
description:
|
||||
|
@ -3143,7 +3143,7 @@ def main():
|
|||
type='list',
|
||||
elements='dict',
|
||||
options=dict(
|
||||
default_service=dict(required=True, type='dict'),
|
||||
default_service=dict(type='dict'),
|
||||
description=dict(type='str'),
|
||||
name=dict(required=True, type='str'),
|
||||
route_rules=dict(
|
||||
|
|
Loading…
Add table
Reference in a new issue