Closed AndyCMRC closed 2 years ago
setting target in a panos_panorama_nat_rule_group crashes the provider
the target should apply the NAT rule to (a) specific firewall(s) defined by it's serial number
the provider crashes
resource "panos_panorama_nat_rule_group" "pre_nat_xxx" { device_group = "xxx-dg" position_keyword = "top"
rule { name = "XXX-NAT-1"
target { serial local.vm3_serial
} target { serial local.vm4_serial } original_packet { source_zones = ["dmz"] destination_zone = "untrusted" destination_interface = "ethernet1/1"
we use panorama to manage different firewalls across different azure environment, sometimes we need to apply NAT rules to a specific firewall.
Version used: Terraform v0.12.29 provider.panos v1.6.3
Environment name and version (e.g. Chrome 59, node.js 5.4, python 3.7.3):
Operating System and version (desktop or mobile):
Link to your project:
Describe the bug
setting target in a panos_panorama_nat_rule_group crashes the provider
Expected behavior
the target should apply the NAT rule to (a) specific firewall(s) defined by it's serial number
Current behavior
the provider crashes
Possible solution
Steps to reproduce
resource "panos_panorama_nat_rule_group" "pre_nat_xxx" { device_group = "xxx-dg" position_keyword = "top"
rule { name = "XXX-NAT-1"
needs work, setting a target crashes the provider
} target { serial local.vm4_serial } original_packet { source_zones = ["dmz"] destination_zone = "untrusted" destination_interface = "ethernet1/1"
Screenshots
Context
we use panorama to manage different firewalls across different azure environment, sometimes we need to apply NAT rules to a specific firewall.
Your Environment
Version used: Terraform v0.12.29 provider.panos v1.6.3
Environment name and version (e.g. Chrome 59, node.js 5.4, python 3.7.3):
Operating System and version (desktop or mobile):
Link to your project: