You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
resource"google_compute_region_url_map""this" {
# default_service - (optional) is a type of stringdefault_service=var.default_service# description - (optional) is a type of stringdescription=var.description# name - (required) is a type of stringname=var.name# project - (optional) is a type of stringproject=var.project# region - (optional) is a type of stringregion=var.regiondynamic"default_url_redirect" {
for_each=var.default_url_redirectcontent {
# host_redirect - (optional) is a type of stringhost_redirect=default_url_redirect.value["host_redirect"]
# https_redirect - (optional) is a type of boolhttps_redirect=default_url_redirect.value["https_redirect"]
# path_redirect - (optional) is a type of stringpath_redirect=default_url_redirect.value["path_redirect"]
# prefix_redirect - (optional) is a type of stringprefix_redirect=default_url_redirect.value["prefix_redirect"]
# redirect_response_code - (optional) is a type of stringredirect_response_code=default_url_redirect.value["redirect_response_code"]
# strip_query - (required) is a type of boolstrip_query=default_url_redirect.value["strip_query"]
}
}
dynamic"host_rule" {
for_each=var.host_rulecontent {
# description - (optional) is a type of stringdescription=host_rule.value["description"]
# hosts - (required) is a type of set of stringhosts=host_rule.value["hosts"]
# path_matcher - (required) is a type of stringpath_matcher=host_rule.value["path_matcher"]
}
}
dynamic"path_matcher" {
for_each=var.path_matchercontent {
# default_service - (optional) is a type of stringdefault_service=path_matcher.value["default_service"]
# description - (optional) is a type of stringdescription=path_matcher.value["description"]
# name - (required) is a type of stringname=path_matcher.value["name"]
dynamic"default_url_redirect" {
for_each=path_matcher.value.default_url_redirectcontent {
# host_redirect - (optional) is a type of stringhost_redirect=default_url_redirect.value["host_redirect"]
# https_redirect - (optional) is a type of boolhttps_redirect=default_url_redirect.value["https_redirect"]
# path_redirect - (optional) is a type of stringpath_redirect=default_url_redirect.value["path_redirect"]
# prefix_redirect - (optional) is a type of stringprefix_redirect=default_url_redirect.value["prefix_redirect"]
# redirect_response_code - (optional) is a type of stringredirect_response_code=default_url_redirect.value["redirect_response_code"]
# strip_query - (required) is a type of boolstrip_query=default_url_redirect.value["strip_query"]
}
}
dynamic"path_rule" {
for_each=path_matcher.value.path_rulecontent {
# paths - (required) is a type of set of stringpaths=path_rule.value["paths"]
# service - (optional) is a type of stringservice=path_rule.value["service"]
dynamic"route_action" {
for_each=path_rule.value.route_actioncontent {
dynamic"cors_policy" {
for_each=route_action.value.cors_policycontent {
# allow_credentials - (optional) is a type of boolallow_credentials=cors_policy.value["allow_credentials"]
# allow_headers - (optional) is a type of list of stringallow_headers=cors_policy.value["allow_headers"]
# allow_methods - (optional) is a type of list of stringallow_methods=cors_policy.value["allow_methods"]
# allow_origin_regexes - (optional) is a type of list of stringallow_origin_regexes=cors_policy.value["allow_origin_regexes"]
# allow_origins - (optional) is a type of list of stringallow_origins=cors_policy.value["allow_origins"]
# disabled - (required) is a type of booldisabled=cors_policy.value["disabled"]
# expose_headers - (optional) is a type of list of stringexpose_headers=cors_policy.value["expose_headers"]
# max_age - (optional) is a type of numbermax_age=cors_policy.value["max_age"]
}
}
dynamic"fault_injection_policy" {
for_each=route_action.value.fault_injection_policycontent {
dynamic"abort" {
for_each=fault_injection_policy.value.abortcontent {
# http_status - (required) is a type of numberhttp_status=abort.value["http_status"]
# percentage - (required) is a type of numberpercentage=abort.value["percentage"]
}
}
dynamic"delay" {
for_each=fault_injection_policy.value.delaycontent {
# percentage - (required) is a type of numberpercentage=delay.value["percentage"]
dynamic"fixed_delay" {
for_each=delay.value.fixed_delaycontent {
# nanos - (optional) is a type of numbernanos=fixed_delay.value["nanos"]
# seconds - (required) is a type of stringseconds=fixed_delay.value["seconds"]
}
}
}
}
}
}
dynamic"request_mirror_policy" {
for_each=route_action.value.request_mirror_policycontent {
# backend_service - (required) is a type of stringbackend_service=request_mirror_policy.value["backend_service"]
}
}
dynamic"retry_policy" {
for_each=route_action.value.retry_policycontent {
# num_retries - (optional) is a type of numbernum_retries=retry_policy.value["num_retries"]
# retry_conditions - (optional) is a type of list of stringretry_conditions=retry_policy.value["retry_conditions"]
dynamic"per_try_timeout" {
for_each=retry_policy.value.per_try_timeoutcontent {
# nanos - (optional) is a type of numbernanos=per_try_timeout.value["nanos"]
# seconds - (required) is a type of stringseconds=per_try_timeout.value["seconds"]
}
}
}
}
dynamic"timeout" {
for_each=route_action.value.timeoutcontent {
# nanos - (optional) is a type of numbernanos=timeout.value["nanos"]
# seconds - (required) is a type of stringseconds=timeout.value["seconds"]
}
}
dynamic"url_rewrite" {
for_each=route_action.value.url_rewritecontent {
# host_rewrite - (optional) is a type of stringhost_rewrite=url_rewrite.value["host_rewrite"]
# path_prefix_rewrite - (optional) is a type of stringpath_prefix_rewrite=url_rewrite.value["path_prefix_rewrite"]
}
}
dynamic"weighted_backend_services" {
for_each=route_action.value.weighted_backend_servicescontent {
# backend_service - (required) is a type of stringbackend_service=weighted_backend_services.value["backend_service"]
# weight - (required) is a type of numberweight=weighted_backend_services.value["weight"]
dynamic"header_action" {
for_each=weighted_backend_services.value.header_actioncontent {
# request_headers_to_remove - (optional) is a type of list of stringrequest_headers_to_remove=header_action.value["request_headers_to_remove"]
# response_headers_to_remove - (optional) is a type of list of stringresponse_headers_to_remove=header_action.value["response_headers_to_remove"]
dynamic"request_headers_to_add" {
for_each=header_action.value.request_headers_to_addcontent {
# header_name - (required) is a type of stringheader_name=request_headers_to_add.value["header_name"]
# header_value - (required) is a type of stringheader_value=request_headers_to_add.value["header_value"]
# replace - (required) is a type of boolreplace=request_headers_to_add.value["replace"]
}
}
dynamic"response_headers_to_add" {
for_each=header_action.value.response_headers_to_addcontent {
# header_name - (required) is a type of stringheader_name=response_headers_to_add.value["header_name"]
# header_value - (required) is a type of stringheader_value=response_headers_to_add.value["header_value"]
# replace - (required) is a type of boolreplace=response_headers_to_add.value["replace"]
}
}
}
}
}
}
}
}
dynamic"url_redirect" {
for_each=path_rule.value.url_redirectcontent {
# host_redirect - (optional) is a type of stringhost_redirect=url_redirect.value["host_redirect"]
# https_redirect - (optional) is a type of boolhttps_redirect=url_redirect.value["https_redirect"]
# path_redirect - (optional) is a type of stringpath_redirect=url_redirect.value["path_redirect"]
# prefix_redirect - (optional) is a type of stringprefix_redirect=url_redirect.value["prefix_redirect"]
# redirect_response_code - (optional) is a type of stringredirect_response_code=url_redirect.value["redirect_response_code"]
# strip_query - (required) is a type of boolstrip_query=url_redirect.value["strip_query"]
}
}
}
}
dynamic"route_rules" {
for_each=path_matcher.value.route_rulescontent {
# priority - (required) is a type of numberpriority=route_rules.value["priority"]
# service - (optional) is a type of stringservice=route_rules.value["service"]
dynamic"header_action" {
for_each=route_rules.value.header_actioncontent {
# request_headers_to_remove - (optional) is a type of list of stringrequest_headers_to_remove=header_action.value["request_headers_to_remove"]
# response_headers_to_remove - (optional) is a type of list of stringresponse_headers_to_remove=header_action.value["response_headers_to_remove"]
dynamic"request_headers_to_add" {
for_each=header_action.value.request_headers_to_addcontent {
# header_name - (required) is a type of stringheader_name=request_headers_to_add.value["header_name"]
# header_value - (required) is a type of stringheader_value=request_headers_to_add.value["header_value"]
# replace - (required) is a type of boolreplace=request_headers_to_add.value["replace"]
}
}
dynamic"response_headers_to_add" {
for_each=header_action.value.response_headers_to_addcontent {
# header_name - (required) is a type of stringheader_name=response_headers_to_add.value["header_name"]
# header_value - (required) is a type of stringheader_value=response_headers_to_add.value["header_value"]
# replace - (required) is a type of boolreplace=response_headers_to_add.value["replace"]
}
}
}
}
dynamic"match_rules" {
for_each=route_rules.value.match_rulescontent {
# full_path_match - (optional) is a type of stringfull_path_match=match_rules.value["full_path_match"]
# ignore_case - (optional) is a type of boolignore_case=match_rules.value["ignore_case"]
# prefix_match - (optional) is a type of stringprefix_match=match_rules.value["prefix_match"]
# regex_match - (optional) is a type of stringregex_match=match_rules.value["regex_match"]
dynamic"header_matches" {
for_each=match_rules.value.header_matchescontent {
# exact_match - (optional) is a type of stringexact_match=header_matches.value["exact_match"]
# header_name - (required) is a type of stringheader_name=header_matches.value["header_name"]
# invert_match - (optional) is a type of boolinvert_match=header_matches.value["invert_match"]
# prefix_match - (optional) is a type of stringprefix_match=header_matches.value["prefix_match"]
# present_match - (optional) is a type of boolpresent_match=header_matches.value["present_match"]
# regex_match - (optional) is a type of stringregex_match=header_matches.value["regex_match"]
# suffix_match - (optional) is a type of stringsuffix_match=header_matches.value["suffix_match"]
dynamic"range_match" {
for_each=header_matches.value.range_matchcontent {
# range_end - (required) is a type of numberrange_end=range_match.value["range_end"]
# range_start - (required) is a type of numberrange_start=range_match.value["range_start"]
}
}
}
}
dynamic"metadata_filters" {
for_each=match_rules.value.metadata_filterscontent {
# filter_match_criteria - (required) is a type of stringfilter_match_criteria=metadata_filters.value["filter_match_criteria"]
dynamic"filter_labels" {
for_each=metadata_filters.value.filter_labelscontent {
# name - (required) is a type of stringname=filter_labels.value["name"]
# value - (required) is a type of stringvalue=filter_labels.value["value"]
}
}
}
}
dynamic"query_parameter_matches" {
for_each=match_rules.value.query_parameter_matchescontent {
# exact_match - (optional) is a type of stringexact_match=query_parameter_matches.value["exact_match"]
# name - (required) is a type of stringname=query_parameter_matches.value["name"]
# present_match - (optional) is a type of boolpresent_match=query_parameter_matches.value["present_match"]
# regex_match - (optional) is a type of stringregex_match=query_parameter_matches.value["regex_match"]
}
}
}
}
dynamic"route_action" {
for_each=route_rules.value.route_actioncontent {
dynamic"cors_policy" {
for_each=route_action.value.cors_policycontent {
# allow_credentials - (optional) is a type of boolallow_credentials=cors_policy.value["allow_credentials"]
# allow_headers - (optional) is a type of list of stringallow_headers=cors_policy.value["allow_headers"]
# allow_methods - (optional) is a type of list of stringallow_methods=cors_policy.value["allow_methods"]
# allow_origin_regexes - (optional) is a type of list of stringallow_origin_regexes=cors_policy.value["allow_origin_regexes"]
# allow_origins - (optional) is a type of list of stringallow_origins=cors_policy.value["allow_origins"]
# disabled - (optional) is a type of booldisabled=cors_policy.value["disabled"]
# expose_headers - (optional) is a type of list of stringexpose_headers=cors_policy.value["expose_headers"]
# max_age - (optional) is a type of numbermax_age=cors_policy.value["max_age"]
}
}
dynamic"fault_injection_policy" {
for_each=route_action.value.fault_injection_policycontent {
dynamic"abort" {
for_each=fault_injection_policy.value.abortcontent {
# http_status - (optional) is a type of numberhttp_status=abort.value["http_status"]
# percentage - (optional) is a type of numberpercentage=abort.value["percentage"]
}
}
dynamic"delay" {
for_each=fault_injection_policy.value.delaycontent {
# percentage - (optional) is a type of numberpercentage=delay.value["percentage"]
dynamic"fixed_delay" {
for_each=delay.value.fixed_delaycontent {
# nanos - (optional) is a type of numbernanos=fixed_delay.value["nanos"]
# seconds - (required) is a type of stringseconds=fixed_delay.value["seconds"]
}
}
}
}
}
}
dynamic"request_mirror_policy" {
for_each=route_action.value.request_mirror_policycontent {
# backend_service - (required) is a type of stringbackend_service=request_mirror_policy.value["backend_service"]
}
}
dynamic"retry_policy" {
for_each=route_action.value.retry_policycontent {
# num_retries - (required) is a type of numbernum_retries=retry_policy.value["num_retries"]
# retry_conditions - (optional) is a type of list of stringretry_conditions=retry_policy.value["retry_conditions"]
dynamic"per_try_timeout" {
for_each=retry_policy.value.per_try_timeoutcontent {
# nanos - (optional) is a type of numbernanos=per_try_timeout.value["nanos"]
# seconds - (required) is a type of stringseconds=per_try_timeout.value["seconds"]
}
}
}
}
dynamic"timeout" {
for_each=route_action.value.timeoutcontent {
# nanos - (optional) is a type of numbernanos=timeout.value["nanos"]
# seconds - (required) is a type of stringseconds=timeout.value["seconds"]
}
}
dynamic"url_rewrite" {
for_each=route_action.value.url_rewritecontent {
# host_rewrite - (optional) is a type of stringhost_rewrite=url_rewrite.value["host_rewrite"]
# path_prefix_rewrite - (optional) is a type of stringpath_prefix_rewrite=url_rewrite.value["path_prefix_rewrite"]
}
}
dynamic"weighted_backend_services" {
for_each=route_action.value.weighted_backend_servicescontent {
# backend_service - (required) is a type of stringbackend_service=weighted_backend_services.value["backend_service"]
# weight - (required) is a type of numberweight=weighted_backend_services.value["weight"]
dynamic"header_action" {
for_each=weighted_backend_services.value.header_actioncontent {
# request_headers_to_remove - (optional) is a type of list of stringrequest_headers_to_remove=header_action.value["request_headers_to_remove"]
# response_headers_to_remove - (optional) is a type of list of stringresponse_headers_to_remove=header_action.value["response_headers_to_remove"]
dynamic"request_headers_to_add" {
for_each=header_action.value.request_headers_to_addcontent {
# header_name - (required) is a type of stringheader_name=request_headers_to_add.value["header_name"]
# header_value - (required) is a type of stringheader_value=request_headers_to_add.value["header_value"]
# replace - (required) is a type of boolreplace=request_headers_to_add.value["replace"]
}
}
dynamic"response_headers_to_add" {
for_each=header_action.value.response_headers_to_addcontent {
# header_name - (required) is a type of stringheader_name=response_headers_to_add.value["header_name"]
# header_value - (required) is a type of stringheader_value=response_headers_to_add.value["header_value"]
# replace - (required) is a type of boolreplace=response_headers_to_add.value["replace"]
}
}
}
}
}
}
}
}
dynamic"url_redirect" {
for_each=route_rules.value.url_redirectcontent {
# host_redirect - (optional) is a type of stringhost_redirect=url_redirect.value["host_redirect"]
# https_redirect - (optional) is a type of boolhttps_redirect=url_redirect.value["https_redirect"]
# path_redirect - (optional) is a type of stringpath_redirect=url_redirect.value["path_redirect"]
# prefix_redirect - (optional) is a type of stringprefix_redirect=url_redirect.value["prefix_redirect"]
# redirect_response_code - (optional) is a type of stringredirect_response_code=url_redirect.value["redirect_response_code"]
# strip_query - (optional) is a type of boolstrip_query=url_redirect.value["strip_query"]
}
}
}
}
}
}
dynamic"test" {
for_each=var.testcontent {
# description - (optional) is a type of stringdescription=test.value["description"]
# host - (required) is a type of stringhost=test.value["host"]
# path - (required) is a type of stringpath=test.value["path"]
# service - (required) is a type of stringservice=test.value["service"]
}
}
dynamic"timeouts" {
for_each=var.timeoutscontent {
# create - (optional) is a type of stringcreate=timeouts.value["create"]
# delete - (optional) is a type of stringdelete=timeouts.value["delete"]
# update - (optional) is a type of stringupdate=timeouts.value["update"]
}
}
}