» panos_licensing
This resource manages the licenses installed on the PAN-OS firewall.
Installing the standard auth code for the standard PAN-OS license key for the firewall causes the firewall to reboot. Thus it is recommended that you use this resource in a separate step of your overall firewall provisioning, as using this resource will cause the firewall to be temporarily inaccessible.
» Example Usage
resource "panos_licensing" "example" {
auth_codes = ["code1", "code2"]
}
» Argument Reference
The following arguments are supported:
-
auth_codes
- (Required) The list of auth codes to install. -
delicense
- (Optional, bool) Leave astrue
if you want to delicense the firewall when this resource is removed, otherwise set tofalse
to prevent firewall delicensing. Delicensing requires that the licensing API key has been installed. -
mode
- (Optional) Fordelicense
oftrue
, the type of delicensing to perform. Right now, onlyauto
is supported (no manual delicensing).
» Attribute Reference
The following attributes are available after read operations:
-
licenses
- List of licenses.
Licenses have the following attributes: