Open ahmutysj3 opened 7 months ago
https://registry.terraform.io/providers/PaloAltoNetworks/panos/latest/docs/resources/general_settings
The example used in the provider documentation for the panos_general_settings resource uses the argument ntp_primary but the correct attribute (listed later on in the argument references) is ntp_primary_address
panos_general_settings
ntp_primary
ntp_primary_address
this is the current example:
resource "panos_general_settings" "example" { hostname = "ngfw220" dns_primary = "10.5.1.10" ntp_primary = "10.5.1.10" ntp_primary_auth_type = "none" lifecycle { create_before_destroy = true } }
## Suggested fix update the example to this
resource "panos_general_settings" "example" { hostname = "ngfw220" dns_primary = "10.5.1.10" ntp_primary_address = "10.5.1.10" ntp_primary_auth_type = "none"
lifecycle { create_before_destroy = true }
}
Documentation link
https://registry.terraform.io/providers/PaloAltoNetworks/panos/latest/docs/resources/general_settings
Describe the problem
The example used in the provider documentation for the
panos_general_settings
resource uses the argumentntp_primary
but the correct attribute (listed later on in the argument references) isntp_primary_address
this is the current example:
resource "panos_general_settings" "example" { hostname = "ngfw220" dns_primary = "10.5.1.10" ntp_primary_address = "10.5.1.10" ntp_primary_auth_type = "none"
}