1.8.4
What's Changed
- Update string to list for custom rules by @lgothelipe in #31
Full Changelog: 1.8.2...1.8.4
Breaking changes
From:
network.tf
module "network" {
source = "git::https://github.com/DNXLabs/terraform-aws-network.git?ref=1.8.3"
.
.
.
firewall_custom_rules = try(local.workspace.firewall.custom_rule, "")
}
one.yaml
firewall:
enabled: true
domain_list: [".google.com", ".github.com"]
custom_rule: "pass ssh $HOME_NET any -> any 22 (msg:\"Allow SSH 22\"; sid:172193; rev:1;)"
To:
network.tf
module "network" {
source = "git::https://github.com/DNXLabs/terraform-aws-network.git?ref=1.8.4"
.
.
.
firewall_custom_rules = try(local.workspace.firewall.custom_rules, [])
}
one.yaml
firewall:
enabled: true
domain_list: [".google.com", ".github.com"]
custom_rules:
- "pass tls $HOME_NET any -> any 443 (msg:\"Allow HTTPS 443\"; sid:172192; rev:1;)"
- "pass ssh $HOME_NET any -> any 22 (msg:\"Allow SSH 22\"; sid:172193; rev:1;)"