Open phuongdnguyen opened 1 year ago
Is the warning for panos_security_policy correct ? Because i see that in https://github.com/PaloAltoNetworks/terraform-provider-panos/blob/4aac7586c49af3e1ffef11224d4a31616125e159/panos/security_rules.go#L207 , isPolicy is set to false, which is: If isPolicy is true, then any rules not explicitly present in the rules param will be deleted. as in https://github.com/PaloAltoNetworks/pango/blob/dba4c1566648dbf17471e4cae313d7ebe1846b68/poli/nat/pano.go#L70:L71
panos_security_policy
isPolicy
If isPolicy is true, then any rules not explicitly present in the rules param will be deleted.
Update the documentation
:tada: Thanks for opening your first issue here! Welcome to the community!
Documentation link
Describe the problem
Is the warning for
panos_security_policy
correct ? Because i see that in https://github.com/PaloAltoNetworks/terraform-provider-panos/blob/4aac7586c49af3e1ffef11224d4a31616125e159/panos/security_rules.go#L207 ,isPolicy
is set to false, which is:If isPolicy is true, then any rules not explicitly present in the rules param will be deleted.
as in https://github.com/PaloAltoNetworks/pango/blob/dba4c1566648dbf17471e4cae313d7ebe1846b68/poli/nat/pano.go#L70:L71Suggested fix
Update the documentation