Commented out lines are not excluded
varnav opened this issue · comments
Evgeny Varnavskiy commented
It will generate variables even if those variables are commented out.
Example:
# custom_rules {
# name = "IPWhitelist"
# priority = 1
# rule_type = "MatchRule"
# match_conditions {
# match_variables {
# variable_name = "RemoteAddr"
# }
# operator = "IPMatch"
# negation_condition = true
# match_values = var.whitelisted_ips
# }
# action = "Block"
# }
Variable definition will be generated for whitelisted_ips
- something I'm not expecting.