-
Notifications
You must be signed in to change notification settings - Fork 7
/
r-firewall.tf
35 lines (26 loc) · 1.2 KB
/
r-firewall.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
module "firewall" {
for_each = var.firewall_enabled ? toset(["firewall"]) : toset([])
source = "./modules/firewall"
client_name = var.client_name
environment = var.environment
stack = var.stack
custom_name = var.custom_firewall_name
location = var.location
location_short = var.location_short
resource_group_name = var.resource_group_name
name_prefix = var.name_prefix
name_slug = var.name_slug
name_suffix = var.name_suffix
logs_destinations_ids = coalesce(var.firewall_logs_destinations_ids, var.logs_destinations_ids)
logs_categories = var.firewall_logs_categories
logs_metrics_categories = var.firewall_logs_metrics_categories
custom_diagnostic_settings_name = var.firewall_custom_diagnostic_settings_name
virtual_hub_id = module.vhub.virtual_hub_id
firewall_sku_tier = var.firewall_sku_tier
firewall_policy_id = var.firewall_policy_id
firewall_public_ip_count = var.firewall_public_ip_count
firewall_availibility_zones = var.firewall_availibility_zones
firewall_dns_servers = var.firewall_dns_servers
firewall_private_ip_ranges = var.firewall_private_ip_ranges
extra_tags = merge(local.tags, var.firewall_extra_tags)
}