Open chobodav opened 1 year ago
:tada: Thanks for opening your first issue here! Welcome to the community!
Line 175 is the panos
provider trying to get the device_group
parameter, which is undefined in your config. Does the error go away if you define device_group
instead of leaving it empty?
Hi @shinmog , thanks for the reply. I was not sure if I tried this before as this option is described in the doc: https://registry.terraform.io/providers/PaloAltoNetworks/panos/latest/docs/resources/nat_rule_group#device_group
So I tried one more time:
│ Error: Unsupported argument
│
│ on nat-rules.tf line 3, in resource "panos_nat_rule_group" "bot":
│ 3: device_group = panos_device_group.device_group_vm.name
│
│ An argument named "device_group" is not expected here.
This is during terraform validate/plan/apply. I remember that I have got the error before during validation so I didng even try apply
. Plus I expected at least defaults for devide_group
and rulebase
will be used.
Hi, we just hit a roadblock with this also. Can't seem to create any kind of NAT rules in panorama with this. We are hoping to provision the rulesets for our templates and stacks with IaC, but have run into this. We cannot route traffic onto the IPv4 Internet without NAT rules! Is there anyone that can help us fix this please? Really hopeful to work toward a functional IaC deployment of policy into Panorama! 🤞
Using the resource that is deprecated (panos_panorama_nat_rule) actually works...it is less powerful but I can get started. Not sure if it will ultimately do what we need yet. Anything I can do to help out with fixing the resource (panos_nat_rule_group) which we are supposed to be using now?
I see...with the deprecated code, there is no ability to order our ruleset. This is a feature that is available in the new code, but doesn't work with Panorama. Doh!
Describe the bug
We are having Panorama version 11.0 and it is not possible to create any NAT rule using terraform.
Here is a simple code similar to sample:
Expected behavior
NAT rule is provisioned.
Current behavior
Plugin crashes.
Possible solution
Steps to reproduce
Run terraform with panos provider and simple NAT rule.