After creating a simple NAT rule via Palo Alto Terraform module "panos_nat_rule_group" , when commit is done via API in Terraform null_resource , the API response is successful and commit job is queued . However, when checking the FW GUI under Task Manager , the status of commit is failed due to incorrect NAT rule which Terraform pushed successfully earlier with "panos_nat_rule_group".
Expected behavior
1) If NAT rule had incorrect settings , Terraform should not have applied it successfully on the firewall.
2) When doing the commit via API , it should not respond successful commit message if commit failing due to incorrect FW configuration.
Current behavior
1) NAT rule with incorrect settings was successfully pushed by Terraform module
2) Commit was enqueued and reported successful during the Terraform deployment , however, the Firewall Console/Task Manager shows the commit failed due to configuration error in NAT rule.
Possible solution
Steps to reproduce
create svc object , NAT rule , null_resource as follows
Describe the bug
After creating a simple NAT rule via Palo Alto Terraform module "panos_nat_rule_group" , when commit is done via API in Terraform null_resource , the API response is successful and commit job is queued . However, when checking the FW GUI under Task Manager , the status of commit is failed due to incorrect NAT rule which Terraform pushed successfully earlier with "panos_nat_rule_group".
Expected behavior
1) If NAT rule had incorrect settings , Terraform should not have applied it successfully on the firewall. 2) When doing the commit via API , it should not respond successful commit message if commit failing due to incorrect FW configuration.
Current behavior
1) NAT rule with incorrect settings was successfully pushed by Terraform module 2) Commit was enqueued and reported successful during the Terraform deployment , however, the Firewall Console/Task Manager shows the commit failed due to configuration error in NAT rule.
Possible solution
Steps to reproduce
create svc object , NAT rule , null_resource as follows
Screenshots
Context
Adding and testing firewall policies/rules
Your Environment
model: PA-VM vm-mode: KVM cloud-mode: cloud sw-version: 11.0.1 vm_series: vm_series-4.0.1 platform-family: vm