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"azurerm_application_gateway""this" {
# enable_http2 - (optional) is a type of boolenable_http2=var.enable_http2# firewall_policy_id - (optional) is a type of stringfirewall_policy_id=var.firewall_policy_id# location - (required) is a type of stringlocation=var.location# name - (required) is a type of stringname=var.name# resource_group_name - (required) is a type of stringresource_group_name=var.resource_group_name# tags - (optional) is a type of map of stringtags=var.tags# zones - (optional) is a type of list of stringzones=var.zonesdynamic"authentication_certificate" {
for_each=var.authentication_certificatecontent {
# data - (required) is a type of stringdata=authentication_certificate.value["data"]
# name - (required) is a type of stringname=authentication_certificate.value["name"]
}
}
dynamic"autoscale_configuration" {
for_each=var.autoscale_configurationcontent {
# max_capacity - (optional) is a type of numbermax_capacity=autoscale_configuration.value["max_capacity"]
# min_capacity - (required) is a type of numbermin_capacity=autoscale_configuration.value["min_capacity"]
}
}
dynamic"backend_address_pool" {
for_each=var.backend_address_poolcontent {
# fqdns - (optional) is a type of list of stringfqdns=backend_address_pool.value["fqdns"]
# ip_addresses - (optional) is a type of list of stringip_addresses=backend_address_pool.value["ip_addresses"]
# name - (required) is a type of stringname=backend_address_pool.value["name"]
}
}
dynamic"backend_http_settings" {
for_each=var.backend_http_settingscontent {
# affinity_cookie_name - (optional) is a type of stringaffinity_cookie_name=backend_http_settings.value["affinity_cookie_name"]
# cookie_based_affinity - (required) is a type of stringcookie_based_affinity=backend_http_settings.value["cookie_based_affinity"]
# host_name - (optional) is a type of stringhost_name=backend_http_settings.value["host_name"]
# name - (required) is a type of stringname=backend_http_settings.value["name"]
# path - (optional) is a type of stringpath=backend_http_settings.value["path"]
# pick_host_name_from_backend_address - (optional) is a type of boolpick_host_name_from_backend_address=backend_http_settings.value["pick_host_name_from_backend_address"]
# port - (required) is a type of numberport=backend_http_settings.value["port"]
# probe_name - (optional) is a type of stringprobe_name=backend_http_settings.value["probe_name"]
# protocol - (required) is a type of stringprotocol=backend_http_settings.value["protocol"]
# request_timeout - (optional) is a type of numberrequest_timeout=backend_http_settings.value["request_timeout"]
# trusted_root_certificate_names - (optional) is a type of list of stringtrusted_root_certificate_names=backend_http_settings.value["trusted_root_certificate_names"]
dynamic"authentication_certificate" {
for_each=backend_http_settings.value.authentication_certificatecontent {
# name - (required) is a type of stringname=authentication_certificate.value["name"]
}
}
dynamic"connection_draining" {
for_each=backend_http_settings.value.connection_drainingcontent {
# drain_timeout_sec - (required) is a type of numberdrain_timeout_sec=connection_draining.value["drain_timeout_sec"]
# enabled - (required) is a type of boolenabled=connection_draining.value["enabled"]
}
}
}
}
dynamic"custom_error_configuration" {
for_each=var.custom_error_configurationcontent {
# custom_error_page_url - (required) is a type of stringcustom_error_page_url=custom_error_configuration.value["custom_error_page_url"]
# status_code - (required) is a type of stringstatus_code=custom_error_configuration.value["status_code"]
}
}
dynamic"frontend_ip_configuration" {
for_each=var.frontend_ip_configurationcontent {
# name - (required) is a type of stringname=frontend_ip_configuration.value["name"]
# private_ip_address - (optional) is a type of stringprivate_ip_address=frontend_ip_configuration.value["private_ip_address"]
# private_ip_address_allocation - (optional) is a type of stringprivate_ip_address_allocation=frontend_ip_configuration.value["private_ip_address_allocation"]
# public_ip_address_id - (optional) is a type of stringpublic_ip_address_id=frontend_ip_configuration.value["public_ip_address_id"]
# subnet_id - (optional) is a type of stringsubnet_id=frontend_ip_configuration.value["subnet_id"]
}
}
dynamic"frontend_port" {
for_each=var.frontend_portcontent {
# name - (required) is a type of stringname=frontend_port.value["name"]
# port - (required) is a type of numberport=frontend_port.value["port"]
}
}
dynamic"gateway_ip_configuration" {
for_each=var.gateway_ip_configurationcontent {
# name - (required) is a type of stringname=gateway_ip_configuration.value["name"]
# subnet_id - (required) is a type of stringsubnet_id=gateway_ip_configuration.value["subnet_id"]
}
}
dynamic"http_listener" {
for_each=var.http_listenercontent {
# firewall_policy_id - (optional) is a type of stringfirewall_policy_id=http_listener.value["firewall_policy_id"]
# frontend_ip_configuration_name - (required) is a type of stringfrontend_ip_configuration_name=http_listener.value["frontend_ip_configuration_name"]
# frontend_port_name - (required) is a type of stringfrontend_port_name=http_listener.value["frontend_port_name"]
# host_name - (optional) is a type of stringhost_name=http_listener.value["host_name"]
# host_names - (optional) is a type of set of stringhost_names=http_listener.value["host_names"]
# name - (required) is a type of stringname=http_listener.value["name"]
# protocol - (required) is a type of stringprotocol=http_listener.value["protocol"]
# require_sni - (optional) is a type of boolrequire_sni=http_listener.value["require_sni"]
# ssl_certificate_name - (optional) is a type of stringssl_certificate_name=http_listener.value["ssl_certificate_name"]
dynamic"custom_error_configuration" {
for_each=http_listener.value.custom_error_configurationcontent {
# custom_error_page_url - (required) is a type of stringcustom_error_page_url=custom_error_configuration.value["custom_error_page_url"]
# status_code - (required) is a type of stringstatus_code=custom_error_configuration.value["status_code"]
}
}
}
}
dynamic"identity" {
for_each=var.identitycontent {
# identity_ids - (required) is a type of list of stringidentity_ids=identity.value["identity_ids"]
# type - (optional) is a type of stringtype=identity.value["type"]
}
}
dynamic"probe" {
for_each=var.probecontent {
# host - (optional) is a type of stringhost=probe.value["host"]
# interval - (required) is a type of numberinterval=probe.value["interval"]
# minimum_servers - (optional) is a type of numberminimum_servers=probe.value["minimum_servers"]
# name - (required) is a type of stringname=probe.value["name"]
# path - (required) is a type of stringpath=probe.value["path"]
# pick_host_name_from_backend_http_settings - (optional) is a type of boolpick_host_name_from_backend_http_settings=probe.value["pick_host_name_from_backend_http_settings"]
# port - (optional) is a type of numberport=probe.value["port"]
# protocol - (required) is a type of stringprotocol=probe.value["protocol"]
# timeout - (required) is a type of numbertimeout=probe.value["timeout"]
# unhealthy_threshold - (required) is a type of numberunhealthy_threshold=probe.value["unhealthy_threshold"]
dynamic"match" {
for_each=probe.value.matchcontent {
# body - (optional) is a type of stringbody=match.value["body"]
# status_code - (optional) is a type of list of stringstatus_code=match.value["status_code"]
}
}
}
}
dynamic"redirect_configuration" {
for_each=var.redirect_configurationcontent {
# include_path - (optional) is a type of boolinclude_path=redirect_configuration.value["include_path"]
# include_query_string - (optional) is a type of boolinclude_query_string=redirect_configuration.value["include_query_string"]
# name - (required) is a type of stringname=redirect_configuration.value["name"]
# redirect_type - (required) is a type of stringredirect_type=redirect_configuration.value["redirect_type"]
# target_listener_name - (optional) is a type of stringtarget_listener_name=redirect_configuration.value["target_listener_name"]
# target_url - (optional) is a type of stringtarget_url=redirect_configuration.value["target_url"]
}
}
dynamic"request_routing_rule" {
for_each=var.request_routing_rulecontent {
# backend_address_pool_name - (optional) is a type of stringbackend_address_pool_name=request_routing_rule.value["backend_address_pool_name"]
# backend_http_settings_name - (optional) is a type of stringbackend_http_settings_name=request_routing_rule.value["backend_http_settings_name"]
# http_listener_name - (required) is a type of stringhttp_listener_name=request_routing_rule.value["http_listener_name"]
# name - (required) is a type of stringname=request_routing_rule.value["name"]
# redirect_configuration_name - (optional) is a type of stringredirect_configuration_name=request_routing_rule.value["redirect_configuration_name"]
# rewrite_rule_set_name - (optional) is a type of stringrewrite_rule_set_name=request_routing_rule.value["rewrite_rule_set_name"]
# rule_type - (required) is a type of stringrule_type=request_routing_rule.value["rule_type"]
# url_path_map_name - (optional) is a type of stringurl_path_map_name=request_routing_rule.value["url_path_map_name"]
}
}
dynamic"rewrite_rule_set" {
for_each=var.rewrite_rule_setcontent {
# name - (required) is a type of stringname=rewrite_rule_set.value["name"]
dynamic"rewrite_rule" {
for_each=rewrite_rule_set.value.rewrite_rulecontent {
# name - (required) is a type of stringname=rewrite_rule.value["name"]
# rule_sequence - (required) is a type of numberrule_sequence=rewrite_rule.value["rule_sequence"]
dynamic"condition" {
for_each=rewrite_rule.value.conditioncontent {
# ignore_case - (optional) is a type of boolignore_case=condition.value["ignore_case"]
# negate - (optional) is a type of boolnegate=condition.value["negate"]
# pattern - (required) is a type of stringpattern=condition.value["pattern"]
# variable - (required) is a type of stringvariable=condition.value["variable"]
}
}
dynamic"request_header_configuration" {
for_each=rewrite_rule.value.request_header_configurationcontent {
# header_name - (required) is a type of stringheader_name=request_header_configuration.value["header_name"]
# header_value - (required) is a type of stringheader_value=request_header_configuration.value["header_value"]
}
}
dynamic"response_header_configuration" {
for_each=rewrite_rule.value.response_header_configurationcontent {
# header_name - (required) is a type of stringheader_name=response_header_configuration.value["header_name"]
# header_value - (required) is a type of stringheader_value=response_header_configuration.value["header_value"]
}
}
dynamic"url" {
for_each=rewrite_rule.value.urlcontent {
# path - (optional) is a type of stringpath=url.value["path"]
# query_string - (optional) is a type of stringquery_string=url.value["query_string"]
# reroute - (optional) is a type of boolreroute=url.value["reroute"]
}
}
}
}
}
}
dynamic"sku" {
for_each=var.skucontent {
# capacity - (optional) is a type of numbercapacity=sku.value["capacity"]
# name - (required) is a type of stringname=sku.value["name"]
# tier - (required) is a type of stringtier=sku.value["tier"]
}
}
dynamic"ssl_certificate" {
for_each=var.ssl_certificatecontent {
# data - (optional) is a type of stringdata=ssl_certificate.value["data"]
# key_vault_secret_id - (optional) is a type of stringkey_vault_secret_id=ssl_certificate.value["key_vault_secret_id"]
# name - (required) is a type of stringname=ssl_certificate.value["name"]
# password - (optional) is a type of stringpassword=ssl_certificate.value["password"]
}
}
dynamic"ssl_policy" {
for_each=var.ssl_policycontent {
# cipher_suites - (optional) is a type of list of stringcipher_suites=ssl_policy.value["cipher_suites"]
# disabled_protocols - (optional) is a type of list of stringdisabled_protocols=ssl_policy.value["disabled_protocols"]
# min_protocol_version - (optional) is a type of stringmin_protocol_version=ssl_policy.value["min_protocol_version"]
# policy_name - (optional) is a type of stringpolicy_name=ssl_policy.value["policy_name"]
# policy_type - (optional) is a type of stringpolicy_type=ssl_policy.value["policy_type"]
}
}
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"]
# read - (optional) is a type of stringread=timeouts.value["read"]
# update - (optional) is a type of stringupdate=timeouts.value["update"]
}
}
dynamic"trusted_root_certificate" {
for_each=var.trusted_root_certificatecontent {
# data - (required) is a type of stringdata=trusted_root_certificate.value["data"]
# name - (required) is a type of stringname=trusted_root_certificate.value["name"]
}
}
dynamic"url_path_map" {
for_each=var.url_path_mapcontent {
# default_backend_address_pool_name - (optional) is a type of stringdefault_backend_address_pool_name=url_path_map.value["default_backend_address_pool_name"]
# default_backend_http_settings_name - (optional) is a type of stringdefault_backend_http_settings_name=url_path_map.value["default_backend_http_settings_name"]
# default_redirect_configuration_name - (optional) is a type of stringdefault_redirect_configuration_name=url_path_map.value["default_redirect_configuration_name"]
# default_rewrite_rule_set_name - (optional) is a type of stringdefault_rewrite_rule_set_name=url_path_map.value["default_rewrite_rule_set_name"]
# name - (required) is a type of stringname=url_path_map.value["name"]
dynamic"path_rule" {
for_each=url_path_map.value.path_rulecontent {
# backend_address_pool_name - (optional) is a type of stringbackend_address_pool_name=path_rule.value["backend_address_pool_name"]
# backend_http_settings_name - (optional) is a type of stringbackend_http_settings_name=path_rule.value["backend_http_settings_name"]
# name - (required) is a type of stringname=path_rule.value["name"]
# paths - (required) is a type of list of stringpaths=path_rule.value["paths"]
# redirect_configuration_name - (optional) is a type of stringredirect_configuration_name=path_rule.value["redirect_configuration_name"]
# rewrite_rule_set_name - (optional) is a type of stringrewrite_rule_set_name=path_rule.value["rewrite_rule_set_name"]
}
}
}
}
dynamic"waf_configuration" {
for_each=var.waf_configurationcontent {
# enabled - (required) is a type of boolenabled=waf_configuration.value["enabled"]
# file_upload_limit_mb - (optional) is a type of numberfile_upload_limit_mb=waf_configuration.value["file_upload_limit_mb"]
# firewall_mode - (required) is a type of stringfirewall_mode=waf_configuration.value["firewall_mode"]
# max_request_body_size_kb - (optional) is a type of numbermax_request_body_size_kb=waf_configuration.value["max_request_body_size_kb"]
# request_body_check - (optional) is a type of boolrequest_body_check=waf_configuration.value["request_body_check"]
# rule_set_type - (optional) is a type of stringrule_set_type=waf_configuration.value["rule_set_type"]
# rule_set_version - (required) is a type of stringrule_set_version=waf_configuration.value["rule_set_version"]
dynamic"disabled_rule_group" {
for_each=waf_configuration.value.disabled_rule_groupcontent {
# rule_group_name - (required) is a type of stringrule_group_name=disabled_rule_group.value["rule_group_name"]
# rules - (optional) is a type of list of numberrules=disabled_rule_group.value["rules"]
}
}
dynamic"exclusion" {
for_each=waf_configuration.value.exclusioncontent {
# match_variable - (required) is a type of stringmatch_variable=exclusion.value["match_variable"]
# selector - (optional) is a type of stringselector=exclusion.value["selector"]
# selector_match_operator - (optional) is a type of stringselector_match_operator=exclusion.value["selector_match_operator"]
}
}
}
}
}