PaloAltoNetworks / terraform-provider-panos

Terraform Panos provider
https://www.terraform.io/docs/providers/panos/
Mozilla Public License 2.0
87 stars 69 forks source link

panos_nat_rule_group documentation and device_group missing from example #409

Open denwurm opened 9 months ago

denwurm commented 9 months ago

Documentation link

https://registry.terraform.io/providers/PaloAltoNetworks/panos/latest/docs/resources/nat_rule_group

Describe the problem

The documentation does not explain where the device_group statement is supposed to be used nor show it in the example.

Terraform also throws the following error when used in the code: Error: Unsupported argument │ │ on natrules.tf line 2, in resource "panos_nat_rule_group" "bottom": │ 2: device_group = "${panos_device_group.create_eu_device_group.id}" │ │ An argument named "device_group" is not expected here.

Suggested fix

welcome-to-palo-alto-networks[bot] commented 9 months ago

:tada: Thanks for opening your first issue here! Welcome to the community!

georgegil commented 1 month ago

This is not a documentation issue, there simply just is not an option to specify a device group on a nat rule

This should be classed as a bug