From 5801ce62ba91cb9cc2b5af14d2f09ba3b1311c87 Mon Sep 17 00:00:00 2001
From: pimielowski
Date: Fri, 12 Apr 2024 12:36:45 +0200
Subject: [PATCH] Remove redundant code files in the tf_provider directory
---
.../tf_provider/.github/workflows/release.yml | 41 --
assets/tf_provider/docs/data-sources/tfid.md | 58 --
assets/tf_provider/docs/index.md | 188 ------
assets/tf_provider/templates/index.md.tmpl | 117 ----
assets/tf_provider/tf_provider/.gitignore | 23 -
.../tf_provider/tf_provider/.goreleaser.yml | 60 --
assets/tf_provider/tf_provider/CHANGELOG.md | 568 ------------------
assets/tf_provider/tf_provider/LICENSE | 373 ------------
assets/tf_provider/tf_provider/Makefile | 18 -
assets/tf_provider/tf_provider/README.md | 81 ---
.../terraform-registry-manifest.json | 6 -
assets/tf_provider/tools/tools.go | 9 -
cmd/codegen/config.yaml | 24 -
13 files changed, 1566 deletions(-)
delete mode 100644 assets/tf_provider/.github/workflows/release.yml
delete mode 100644 assets/tf_provider/docs/data-sources/tfid.md
delete mode 100644 assets/tf_provider/docs/index.md
delete mode 100644 assets/tf_provider/templates/index.md.tmpl
delete mode 100644 assets/tf_provider/tf_provider/.gitignore
delete mode 100644 assets/tf_provider/tf_provider/.goreleaser.yml
delete mode 100644 assets/tf_provider/tf_provider/CHANGELOG.md
delete mode 100644 assets/tf_provider/tf_provider/LICENSE
delete mode 100644 assets/tf_provider/tf_provider/Makefile
delete mode 100644 assets/tf_provider/tf_provider/README.md
delete mode 100644 assets/tf_provider/tf_provider/terraform-registry-manifest.json
delete mode 100644 assets/tf_provider/tools/tools.go
diff --git a/assets/tf_provider/.github/workflows/release.yml b/assets/tf_provider/.github/workflows/release.yml
deleted file mode 100644
index 3eb4d1f0..00000000
--- a/assets/tf_provider/.github/workflows/release.yml
+++ /dev/null
@@ -1,41 +0,0 @@
-# Terraform Provider release workflow.
-name: Release
-
-# This GitHub action creates a release when a tag that matches the pattern
-# "v*" (e.g. v0.1.0) is created.
-on:
- push:
- tags:
- - 'v*'
-
-# Releases need permissions to read and write the repository contents.
-# GitHub considers creating releases and uploading assets as writing contents.
-permissions:
- contents: write
-
-jobs:
- goreleaser:
- runs-on: ubuntu-latest
- steps:
- - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- with:
- # Allow goreleaser to access older tag information.
- fetch-depth: 0
- - uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0
- with:
- go-version-file: 'go.mod'
- cache: true
- - name: Import GPG key
- uses: crazy-max/ghaction-import-gpg@01dd5d3ca463c7f10f7f4f7b4f177225ac661ee4 # v6.1.0
- id: import_gpg
- with:
- gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
- passphrase: ${{ secrets.PASSPHRASE }}
- - name: Run GoReleaser
- uses: goreleaser/goreleaser-action@7ec5c2b0c6cdda6e8bbb49444bc797dd33d74dd8 # v5.0.0
- with:
- args: release --clean
- env:
- # GitHub sets the GITHUB_TOKEN secret automatically.
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- GPG_FINGERPRINT: ${{ steps.import_gpg.outputs.fingerprint }}
diff --git a/assets/tf_provider/docs/data-sources/tfid.md b/assets/tf_provider/docs/data-sources/tfid.md
deleted file mode 100644
index 37426525..00000000
--- a/assets/tf_provider/docs/data-sources/tfid.md
+++ /dev/null
@@ -1,58 +0,0 @@
----
-# generated by https://github.com/hashicorp/terraform-plugin-docs
-page_title: "panos_tfid Data Source - panos"
-subcategory: ""
-description: |-
- Helper data source: create a tfid from the given information. Note that the tfid ouptut from this data source may not exactly match what a resource uses, but it will still be a valid ID to use for resource imports.
----
-
-# panos_tfid (Data Source)
-
-Helper data source: create a tfid from the given information. Note that the tfid ouptut from this data source may not
-exactly match what a resource uses, but it will still be a valid ID to use for resource imports.
-
-## Example Usage
-
-```terraform
-# Note that IDs created by this data source may not exactly match IDs created
-# by a given resource, but it will be compatible and a valid ID for
-# doing state imports.
-
-# Example of how to create the ID for panos_nested_address_object named
-# "foo" in vsys1.
-#
-# All variables should be specified for a given location, default value or not.
-data "panos_tfid" "example1" {
- name = "foo"
- location = "vsys"
- variables = {
- "name" : "vsys1",
- "ngfw_device" : "localhost.localdomain",
- }
-}
-
-# Example of how to create the ID for panos_nested_address_object
-# named "foo" in shared.
-data "panos_tfid" "example2" {
- name = "foo"
- location = "shared"
-}
-```
-
-
-
-## Schema
-
-### Required
-
-- `location` (String) The location path name.
-
-### Optional
-
-- `name` (String) (Singleton resource) The config's name.
-- `names` (List of String) (Grouping resources) The names of the configs.
-- `variables` (Map of String) The variables and values for the specified location.
-
-### Read-Only
-
-- `tfid` (String) The tfid created from the given parts.
diff --git a/assets/tf_provider/docs/index.md b/assets/tf_provider/docs/index.md
deleted file mode 100644
index 071ff66b..00000000
--- a/assets/tf_provider/docs/index.md
+++ /dev/null
@@ -1,188 +0,0 @@
----
-page_title: "Provider: panos"
-description: |-
- The Terraform provider for Palo Alto Networks PAN-OS.
----
-
-# Provider panos
-
-PAN-OS® is the operating system for Palo Alto Networks® NGFWs and Panorama™. The panos provider allows you
-to manage various aspects of a firewall's or a Panorama's config, such as data interfaces and security policies.
-
-Use the navigation to the left to read about the available Panorama and NGFW resources.
-
-Refer to [the changelog](https://github.com/PaloAltoNetworks/terraform-provider-panos/blob/master/CHANGELOG.md) to see
-what's new.
-
-## Versioning
-
-The minimum version of PAN-OS is PAN-OS 10.1 and onwards. In PAN-OS 10.1.5 a change was made with regards to the XML API
-that removed the provider's easy access to remove multiple config objects in a single API call.
-
-To compensate for this loss of functionality, the provider now does multi-config API calls against PAN-OS when
-multiple `type=config` API calls must be run.
-
-With regards to data sources and resources, the minimum version for any given data source or resource will be present in
-the documentation if the version is higher than PAN-OS 10.1.
-
-If you need to work with multiple versions of PAN-OS where some versions have a new parameter and some don't, then make
-sure to use [conditionals](https://www.terraform.io/docs/configuration/expressions/conditionals.html) along with
-the `panos_system_info` data source to only set these variables when the version of PAN-OS is appropriate.
-
-## List Filtering
-
-Data sources that return a list of objects now supports filtering. Please refer to the guide on the side for more
-information on how to use filtering.
-
-## Provider Modes
-
-The provider features two distinct modes: API and local inspection.
-
-The API mode is the standard mode where the provider connects to a running PAN-OS instance and executes API commands
-against it. This mode can be used across both data sources and resources.
-
-The local inspection mode in contrast allows users to use Terraform to inspect a locally saved XML schema that was
-previously exported from PAN-OS. Interaction with the exported XML schema is limited to data sources only, but there may
-still be some types of data sources that are incompatible with this (aka - User-ID data sources or exporting the tech
-support file). This combined with data source list filtering should enable users to quickly inspect previously saved
-configs from the comfort of Terraform. The versions of PAN-OS that [pango](https://github.com/PaloAltoNetworks/pango)
-supports determines the versions that the provider can successfully function in local inspection mode.
-
-## Candidate vs Running Config
-
-Most data sources (aka - those that are `type=config`) now support querying both the candidate config as well as the
-running config. The default is to query candidate config (`get`), but if the data source supports the `action` param
-then this can be set to `show` to query the running config instead.
-
-If the provider is in local inspection mode, then the `action` is ignored as the provider is getting answers directly
-from the given XML schema.
-
-## Terraform / PAN-OS Interaction
-
-### `lifecycle.create_before_destroy`
-
-The order of operations that Terraform handles updates / deletes does not by default work the way that PAN-OS does
-things. In order to make Terraform behave properly, inside of **each and every resource** you need to specify
-a [`lifecycle`](https://www.terraform.io/language/meta-arguments/lifecycle) block like so:
-
-```hcl
-resource "panos_address_object" "example" {
- name = "web server 1"
- # continue with the rest of the definition
- ...
-
- lifecycle {
- create_before_destroy = true
- }
-}
-```
-
-### Parallelism
-
-Terraform uses goroutines to speed up deployment, but the number of parallel operations is launches
-exceeds [what is recommended](https://docs.paloaltonetworks.com/pan-os/10-0/pan-os-panorama-api/pan-os-xml-api-request-types/apply-user-id-mapping-and-populate-dynamic-address-groups-api.html):
-
-```
-Limit the number of concurrent API calls to five. This limit ensures that there is no performance impact to the firewall web interface as the management plane web server handles requests from both the API and the web interface.
-```
-
-In order to accomplish this, make sure you set
-the [parallelism](https://www.terraform.io/cli/commands/apply#parallelism-n) value at or below this limit to prevent
-performance impacts.
-
-## Commits
-
-As of right now, Terraform does not provide native support for commits, so commits are handled out-of-band. Please refer
-to the commit guide to the left for more information.
-
-## AWS / GCP Considerations
-
-If you are launching PAN-OS in AWS or GCP, there are additional considerations that you should be aware of with regards
-to initial configuration. Please see the AWS / GCP Considerations guide off to the left.
-
-## Example Provider Usage
-
-```terraform
-# Traditional provider example.
-provider "panos" {
- hostname = "10.1.1.1"
- username = "admin"
- password = "secret"
-}
-
-# Local inspection mode provider example.
-provider "panos" {
- config_file = file("/tmp/candidate-config.xml")
-
- # This is only used if a "detail-version" attribute is not present in
- # the exported XML schema. If it's there, this can be omitted.
- panos_version = "10.2.0"
-}
-
-terraform {
- required_providers {
- panos = {
- source = "paloaltonetworks/terraform-provider-panos"
- version = "2.0.0"
- }
- }
-}
-```
-
-## Provider Parameter Priority
-
-There are multiple ways to specify the provider's parameters. If overlapping values are configured for the provider,
-then this is the resolution order:
-
-1. Directly in the `provider` block
-2. Environment variable (where applicable)
-3. From the JSON config file
-
-
-
-## Schema
-
-### Optional
-
-- `additional_headers` (Map of String) Additional HTTP headers to send with API calls Environment
- variable: `PANOS_HEADERS`. JSON config file variable: `additional_headers`.
-- `api_key` (String) The API key for PAN-OS. Either specify this or give both username and password. Environment
- variable: `PANOS_API`. JSON config file variable: `api_key`.
-- `api_key_in_request` (Boolean) Send the API key in the request body instead of using the authentication header.
- Environment variable: `PANOS_API_KEY_IN_REQUEST`. JSON config file variable: `api_key_in_request`.
-- `auth_file` (String) Filesystem path to a JSON config file that specifies the provider's params.
-- `config_file` (String) (Local inspection mode) The PAN-OS config file to load read in using `file()`
-- `hostname` (String) The hostname or IP address of the PAN-OS instance (NGFW or Panorama). Environment
- variable: `PANOS_HOST`. JSON config file variable: `hostname`.
-- `panos_version` (String) (Local inspection mode) The version of PAN-OS that exported the config file. This is only
- used if the root "config" block does not contain the "detail-version" attribute. Example: `10.2.3`.
-- `password` (String, Sensitive) The password. This is required if the api_key is not configured. Environment
- variable: `PANOS_PASSWORD`. JSON config file variable: `password`.
-- `port` (Number) If the port is non-standard for the protocol, the port number to use. Environment
- variable: `PANOS_PORT`. JSON config file variable: `port`.
-- `protocol` (String) The protocol (https or http). Default: `https`. Environment variable: `PANOS_PROTOCOL`. JSON
- config file variable: `protocol`.
-- `skip_verify_certificate` (Boolean) (For https protocol) Skip verifying the HTTPS certificate. Environment
- variable: `PANOS_SKIP_VERIFY_CERTIFICATE`. JSON config file variable: `skip_verify_certificate`.
-- `target` (String) Target setting (NGFW serial number). Environment variable: `PANOS_TARGET`. JSON config file
- variable: `target`.
-- `username` (String) The username. This is required if api_key is not configured. Environment
- variable: `PANOS_USERNAME`. JSON config file variable: `username`.
-
-The following is an example of the contents of a JSON config file:
-
-```json
-{
- "hostname": "127.0.0.1",
- "api_key": "secret",
- "skip_verify_certificate": true
-}
-```
-
-## Support
-
-This template/script/solution is released “as-is”, with no warranty and no support. These should be seen as community
-supported and Palo Alto Networks may contribute its expertise at its discretion. Palo Alto Networks, including through
-its Authorized Support Centers (ASC) partners and backline support options, will not provide technical support or help
-in using or troubleshooting this template/script/solution. The underlying product used by this template/script/solution
-will still be supported in accordance with the product’s applicable support policy and the customer’s entitlements.
diff --git a/assets/tf_provider/templates/index.md.tmpl b/assets/tf_provider/templates/index.md.tmpl
deleted file mode 100644
index 030d06d3..00000000
--- a/assets/tf_provider/templates/index.md.tmpl
+++ /dev/null
@@ -1,117 +0,0 @@
----
-page_title: "Provider: panos"
-description: |-
- The Terraform provider for Palo Alto Networks PAN-OS.
----
-
-# Provider panos
-
-PAN-OS® is the operating system for Palo Alto Networks® NGFWs and Panorama™. The panos provider allows you to manage various aspects of a firewall's or a Panorama's config, such as data interfaces and security policies.
-
-Use the navigation to the left to read about the available Panorama and NGFW resources.
-
-Refer to [the changelog](https://github.com/PaloAltoNetworks/terraform-provider-panos/blob/master/CHANGELOG.md) to see what's new.
-
-
-## Versioning
-
-The minimum version of PAN-OS is PAN-OS 10.1 and onwards. In PAN-OS 10.1.5 a change was made with regards to the XML API that removed the provider's easy access to remove multiple config objects in a single API call.
-
-To compensate for this loss of functionality, the provider now does multi-config API calls against PAN-OS when multiple `type=config` API calls must be run.
-
-With regards to data sources and resources, the minimum version for any given data source or resource will be present in the documentation if the version is higher than PAN-OS 10.1.
-
-If you need to work with multiple versions of PAN-OS where some versions have a new parameter and some don't, then make sure to use [conditionals](https://www.terraform.io/docs/configuration/expressions/conditionals.html) along with the `panos_system_info` data source to only set these variables when the version of PAN-OS is appropriate.
-
-
-## List Filtering
-
-Data sources that return a list of objects now supports filtering. Please refer to the guide on the side for more information on how to use filtering.
-
-
-## Provider Modes
-
-The provider features two distinct modes: API and local inspection.
-
-The API mode is the standard mode where the provider connects to a running PAN-OS instance and executes API commands against it. This mode can be used across both data sources and resources.
-
-The local inspection mode in contrast allows users to use Terraform to inspect a locally saved XML schema that was previously exported from PAN-OS. Interaction with the exported XML schema is limited to data sources only, but there may still be some types of data sources that are incompatible with this (aka - User-ID data sources or exporting the tech support file). This combined with data source list filtering should enable users to quickly inspect previously saved configs from the comfort of Terraform. The versions of PAN-OS that [pango](https://github.com/PaloAltoNetworks/pango) supports determines the versions that the provider can successfully function in local inspection mode.
-
-
-## Candidate vs Running Config
-
-Most data sources (aka - those that are `type=config`) now support querying both the candidate config as well as the running config. The default is to query candidate config (`get`), but if the data source supports the `action` param then this can be set to `show` to query the running config instead.
-
-If the provider is in local inspection mode, then the `action` is ignored as the provider is getting answers directly from the given XML schema.
-
-
-## Terraform / PAN-OS Interaction
-
-### `lifecycle.create_before_destroy`
-
-The order of operations that Terraform handles updates / deletes does not by default work the way that PAN-OS does things. In order to make Terraform behave properly, inside of **each and every resource** you need to specify a [`lifecycle`](https://www.terraform.io/language/meta-arguments/lifecycle) block like so:
-
-```hcl
-resource "panos_address_object" "example" {
- name = "web server 1"
- # continue with the rest of the definition
- ...
-
- lifecycle {
- create_before_destroy = true
- }
-}
-```
-
-
-### Parallelism
-
-Terraform uses goroutines to speed up deployment, but the number of parallel operations is launches exceeds [what is recommended](https://docs.paloaltonetworks.com/pan-os/10-0/pan-os-panorama-api/pan-os-xml-api-request-types/apply-user-id-mapping-and-populate-dynamic-address-groups-api.html):
-
-```
-Limit the number of concurrent API calls to five. This limit ensures that there is no performance impact to the firewall web interface as the management plane web server handles requests from both the API and the web interface.
-```
-
-In order to accomplish this, make sure you set the [parallelism](https://www.terraform.io/cli/commands/apply#parallelism-n) value at or below this limit to prevent performance impacts.
-
-
-## Commits
-
-As of right now, Terraform does not provide native support for commits, so commits are handled out-of-band. Please refer to the commit guide to the left for more information.
-
-
-## AWS / GCP Considerations
-
-If you are launching PAN-OS in AWS or GCP, there are additional considerations that you should be aware of with regards to initial configuration. Please see the AWS / GCP Considerations guide off to the left.
-
-
-## Example Provider Usage
-
-{{ tffile "examples/provider/provider.tf" }}
-
-
-## Provider Parameter Priority
-
-There are multiple ways to specify the provider's parameters. If overlapping values are configured for the provider, then this is the resolution order:
-
-1. Directly in the `provider` block
-2. Environment variable (where applicable)
-3. From the JSON config file
-
-
-{{ .SchemaMarkdown | trimspace }}
-
-The following is an example of the contents of a JSON config file:
-
-```json
-{
- "hostname": "127.0.0.1",
- "api_key": "secret",
- "skip_verify_certificate": true
-}
-```
-
-
-## Support
-
-This template/script/solution is released “as-is”, with no warranty and no support. These should be seen as community supported and Palo Alto Networks may contribute its expertise at its discretion. Palo Alto Networks, including through its Authorized Support Centers (ASC) partners and backline support options, will not provide technical support or help in using or troubleshooting this template/script/solution. The underlying product used by this template/script/solution will still be supported in accordance with the product’s applicable support policy and the customer’s entitlements.
diff --git a/assets/tf_provider/tf_provider/.gitignore b/assets/tf_provider/tf_provider/.gitignore
deleted file mode 100644
index 06269d9f..00000000
--- a/assets/tf_provider/tf_provider/.gitignore
+++ /dev/null
@@ -1,23 +0,0 @@
-# Binaries for programs and plugins
-*.exe
-*.dll
-*.so
-*.dylib
-
-# Test binary, build with `go test -c`
-*.test
-
-# Output of the go coverage tool, specifically when used with LiteIDE
-*.out
-
-# Project-local glide cache, RE: https://github.com/Masterminds/glide/issues/736
-.glide/
-
-# Misc ignores
-/*.tf
-*.swp
-.DS_Store
-.terraform/
-terraform.tfstate
-terraform.tfstate.backup
-terraform-provider-panos
diff --git a/assets/tf_provider/tf_provider/.goreleaser.yml b/assets/tf_provider/tf_provider/.goreleaser.yml
deleted file mode 100644
index 23f50b30..00000000
--- a/assets/tf_provider/tf_provider/.goreleaser.yml
+++ /dev/null
@@ -1,60 +0,0 @@
-# Visit https://goreleaser.com for documentation on how to customize this
-# behavior.
-before:
- hooks:
- # this is just an example and not a requirement for provider building/publishing
- - go mod tidy
-builds:
- - env:
- # goreleaser does not work with CGO, it could also complicate
- # usage by users in CI/CD systems like Terraform Cloud where
- # they are unable to install libraries.
- - CGO_ENABLED=0
- mod_timestamp: '{{ .CommitTimestamp }}'
- flags:
- - -trimpath
- ldflags:
- - '-s -w -X main.version={{.Version}} -X main.commit={{.Commit}}'
- goos:
- - freebsd
- - windows
- - linux
- - darwin
- goarch:
- - amd64
- - '386'
- - arm
- - arm64
- ignore:
- - goos: darwin
- goarch: '386'
- binary: '{{ .ProjectName }}_v{{ .Version }}'
-archives:
- - format: zip
- name_template: '{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}'
-checksum:
- extra_files:
- - glob: 'terraform-registry-manifest.json'
- name_template: '{{ .ProjectName }}_{{ .Version }}_manifest.json'
- name_template: '{{ .ProjectName }}_{{ .Version }}_SHA256SUMS'
- algorithm: sha256
-signs:
- - artifacts: checksum
- args:
- # if you are using this in a GitHub action or some other automated pipeline, you
- # need to pass the batch flag to indicate its not interactive.
- - "--batch"
- - "--local-user"
- - "{{ .Env.GPG_FINGERPRINT }}" # set this environment variable for your signing key
- - "--output"
- - "${signature}"
- - "--detach-sign"
- - "${artifact}"
-release:
- extra_files:
- - glob: 'terraform-registry-manifest.json'
- name_template: '{{ .ProjectName }}_{{ .Version }}_manifest.json'
- # If you want to manually examine the release before its live, uncomment this line:
- # draft: true
-changelog:
- skip: true
diff --git a/assets/tf_provider/tf_provider/CHANGELOG.md b/assets/tf_provider/tf_provider/CHANGELOG.md
deleted file mode 100644
index a3652c24..00000000
--- a/assets/tf_provider/tf_provider/CHANGELOG.md
+++ /dev/null
@@ -1,568 +0,0 @@
-## 1.11.1 (February 16, 2022)
-
-ENHANCEMENTS:
-
-* Added new `ssl_certificates` parameter to all data sources and resources concerning Decryption Rules.
-
-FIXES:
-
-* PAN-OS 10.1.5 and above removed usage of `" or "` in the XPATH, which broke the provider's ability to delete multiple
- items in resources such as `panos_security_rule_group` or `panos_address_objects`. If the provider sees PAN-OS 10.1.5
- or later, then deletes happen one at a time, which will of course negatively affect plan deployment speed. If the
- provider sees PAN-OS <= 10.1.4, since it still supports `" or "` in the XPATH, delete performance and implementation
- is unchanged.
-* `panos_certificate_import` now works against
- Panorama ([#329](https://github.com/PaloAltoNetworks/terraform-provider-panos/issues/329))
-
-DOCUMENTATION:
-
-* Added `Provider v2` documentation section to the main documentation page.
-* Updated the build instructions for the firewall commit script.
-* Other docs fixes.
-
-## 1.11.0 (September 26, 2022)
-
-NEW DATA SOURCES:
-
-* `panos_authentication_profiles`
-* `panos_globalprotect_ipsec_crypto_profile` / `panos_globalprotect_ipsec_crypto_profiles`
-* `panos_kerberos_profiles`
-* `panos_ldap_profiles`
-* `panos_radius_profiles`
-* `panos_saml_profile` / `panos_saml_profiles`
-* `panos_ssl_tls_service_profile` / `panos_ssl_tls_service_profiles`
-* `panos_tacacs_plus_profiles`
-
-NEW RESOURCES:
-
-* `panos_authentication_profile`
-* `panos_globalprotect_ipsec_crypto_profile`
-* `panos_kerberos_profile`
-* `panos_ldap_profile`
-* `panos_radius_profile`
-* `panos_saml_profile`
-* `panos_ssl_decrypt_exclude_certificate_entry`
-* `panos_ssl_tls_service_profile`
-* `panos_tacacs_plus_profile`
-
-FIXES:
-
-* `panos_dhcp_interface_info` won't crash when using this NGFW data source against
- Panorama ([#357](https://github.com/PaloAltoNetworks/terraform-provider-panos/issues/357))
-
-## 1.10.3 (June 22, 2022)
-
-FIXES:
-
-* `panos_ssl_decrypt.ssl_decrypt_exclude_certificate` param is not properly
- configured ([#341](https://github.com/PaloAltoNetworks/terraform-provider-panos/issues/341))
-
-## 1.10.2 (June 17, 2022)
-
-FIXES:
-
-* Global fix for Panorama `target` and `device` specs in data sources and resources where you can specify the `serial`
- and `vsys_list` ([#340](https://github.com/PaloAltoNetworks/terraform-provider-panos/issues/340))
-
-
-* Fix for device group `device` param
-
-## 1.10.1 (May 13, 2022)
-
-* Various bug fixes
-* Numerous documentation fixes
-
-## 1.10.0 (February 11, 2022)
-
-NEW UNIVERSAL RESOURCES:
-
-* `panos_address_objects`
-
-## 1.9.2 (January 10, 2022)
-
-FIXES:
-
-* `panos_ike_crypto_profile` / `panos_panorama_ike_crypto_profile`: Fix for importing this
- resource. ([#316](https://github.com/PaloAltoNetworks/terraform-provider-panos/issues/316))
-
-## 1.9.1 (January 7, 2022)
-
-FIXES:
-
-* Allow pre/post rulebase with "shared" for all Panorama policy
- resources ([#314](https://github.com/PaloAltoNetworks/terraform-provider-panos/issues/314))
-
-## 1.9.0 (December 30, 2021)
-
-NEW UNIVERSAL DATA SOURCES:
-
-* `panos_application_object` / `panos_application_objects`
-* `panos_audit_comment_history`
-* `panos_certificate_profile` / `panos_certificate_profiles`
-* `panos_custom_url_category` / `panos_custom_url_categories`
-* `panos_decryption_rule` / `panos_decryption_rules`
-* `panos_edl` / `panos_edls`
-* `panos_local_user_db_group` / `panos_local_user_db_groups`
-* `panos_nat_rule` / `panos_nat_rules`
-* `panos_pbf_rule` / `panos_pbf_rules`
-* `panos_security_profile_group` / `panos_security_profile_groups`
-* `panos_security_rule` / `panos_security_rules`
-* `panos_ssl_decrypt`
-* `panos_tech_support_file`
-* `panos_virtual_router` / `panos_virtual_routers`
-* `panos_zone` / `panos_zones`
-
-NEW PANORAMA DATA SOURCES:
-
-* `panos_device_group` / `panos_device_groups` ([#284](https://github.com/PaloAltoNetworks/terraform-provider-panos/issues/284))
-
-NEW UNIVERSAL RESOURCES:
-
-* `panos_certificate_import` ([#252](https://github.com/PaloAltoNetworks/terraform-provider-panos/issues/252), [#4](https://github.com/PaloAltoNetworks/terraform-provider-panos/issues/4))
-* `panos_certificate_profile`
-* `panos_custom_url_category` / `panos_custom_url_category_entry` ([#157](https://github.com/PaloAltoNetworks/terraform-provider-panos/issues/157))
-* `panos_decryption_rule_group`
-* `panos_local_user_db_group` ([#310](https://github.com/PaloAltoNetworks/terraform-provider-panos/issues/310))
-* `panos_local_user_db_user` ([#310](https://github.com/PaloAltoNetworks/terraform-provider-panos/issues/310))
-* `panos_security_profile_group` ([#299](https://github.com/PaloAltoNetworks/terraform-provider-panos/issues/299))
-* `panos_ssl_decrypt`
-* `panos_ssl_decrypt_trusted_root_ca_entry`
-* `panos_vm_information_source` ([#281](https://github.com/PaloAltoNetworks/terraform-provider-panos/issues/281))
-
-NEW FIREWALL SPECIFIC RESOURCES:
-
-* `panos_aws_cloud_watch` ([#300](https://github.com/PaloAltoNetworks/terraform-provider-panos/issues/300))
-
-PROVIDER BLOCK ENHANCEMENTS:
-
-* Additional HTTP headers can be configured in API calls sent to
- PAN-OS ([#273](https://github.com/PaloAltoNetworks/terraform-provider-panos/issues/273))
-* New logging options added: `log`, `export`, `import`, `osx_curl`, and `curl_with_personal_data`
-
-POLICY SPECIFIC ENHANCEMENTS:
-
-* Added `rule.audit_comment` to all policy resources.
-* Added `rule.group_tag` to all Policies resources
- except `panos_nat_rule` / `panos_panorama_nat_rule`. ([#243](https://github.com/PaloAltoNetworks/terraform-provider-panos/issues/243), [#247](https://github.com/PaloAltoNetworks/terraform-provider-panos/issues/247))
-* Added the attribute `rule.uuid` to all Policies rule resources except `panos_nat_rule` / `panos_panorama_nat_rule`.
-* Changing positioning or membership no longer deletes all of the rules. This change was necessary to preserve the
- opstate for various policy rules (e.g. - hit count and audit comments)
-* All Policies resource timeouts for create/update operations set to
- 10min. ([#289](https://github.com/PaloAltoNetworks/terraform-provider-panos/issues/289))
-
-ENHANCEMENTS:
-
-* `panos_edl`: Performance improvements
-* `panos_edl`: `value=predefined-url` has been added
-* `panos_email_server_profile`: Performance improvements
-* `panos_http_server_profile`: Performance improvements
-* `panos_ike_crypto_profile` / `panos_panorama_ike_crypto_profile`: Added new GCM encryptions added in PAN-OS
- 10.0. ([#304](https://github.com/PaloAltoNetworks/terraform-provider-panos/issues/304))
-* `panos_log_forwarding_profile` / `panos_panorama_log_forwarding_profile`: `log_type=decryption` has been
- added ([#305](https://github.com/PaloAltoNetworks/terraform-provider-panos/issues/305))
-* `panos_panorama_email_server_profile`: This can now be configured on Panorama
-* `panos_snmptrap_server_profile`: Performance improvements
-* `panos_syslog_server_profile`: Performance improvements
-* Added checking in all Panorama Policy resources and data sources for invalid combinations of `device_group`
- and `rulebase`. ([#275](https://github.com/PaloAltoNetworks/terraform-provider-panos/issues/275))
-
-FIXES:
-
-* `panos_application_object` / `panos_panorama_application_object`: `ip_protocol.value` is now a string instead of an
- int
-* `panos_edl`: `value=predefined` is now `value=predefined-ip`
-* `panos_ipsec_crypto_profile` / `panos_panorama_ipsec_crypto_profile`: Removed the validation function to
- allow `dh_group=no-pfs`. ([#307](https://github.com/PaloAltoNetworks/terraform-provider-panos/issues/307))
-* `panos_virtual_router` / `panos_panorama_virtual_router`: Importing a virtual router that has been configured via the
- GUI now reflects administrative distances left as their default
- values ([#306](https://github.com/PaloAltoNetworks/terraform-provider-panos/issues/306))
-* The `rule.hip_profiles` parameter in all security rule resources is now Optional instead of
- Required. ([#293](https://github.com/PaloAltoNetworks/terraform-provider-panos/issues/293))
-* Fixed the parsing of the `rule.target` parameter for all Policy resources and data
- sources. ([#242](https://github.com/PaloAltoNetworks/terraform-provider-panos/issues/242), [#290](https://github.com/PaloAltoNetworks/terraform-provider-panos/issues/290), [#298](https://github.com/PaloAltoNetworks/terraform-provider-panos/issues/298))
-* Fixed detecting when a policy rule group is misplaced in certain circumstances.
-* `panos_vlan_entry` / `panos_panorama_vlan_entry`: Fixed removal of this resource.
-* Various documentation fixes.
-
-## 1.8.3 (April 26, 2021)
-
-ENHANCEMENTS:
-
-* `panos_ip_tag` now works on
- Panorama ([#277](https://github.com/terraform-providers/terraform-provider-panos/issues/272))
-
-## 1.8.2 (April 9, 2021)
-
-ENHANCEMENTS:
-
-* Try to restore the previous security policy if `panos_security_policy` /
- `panos_panorama_security_policy` has an error applying the new one.
- ([#272](https://github.com/terraform-providers/terraform-provider-panos/issues/272))
-* Add additional architecture support (update to go 1.16).
-
-## 1.8.1 (March 29, 2021)
-
-BUG FIXES:
-
-* Importing an address object into state should not result in `terraform plan`
- showing differences.
-
-DOCUMENTATION:
-
-* Updating the commit script to add support for a configurable timeout.
-* Minor fixes.
-
-## 1.8.0 (February 4, 2021)
-
-NEW DATA SOURCES:
-
-* `panos_api_key`
-
-## 1.7.1 (February 4, 2021)
-
-BUG FIXES:
-
-* Fixing `panos_address_object` wanting to redeploy existing address objects.
-
-## 1.7.0 (January 30, 2021)
-
-Newly added resources and data sources now work with both NGFW and Panorama; there
-is no separate `panos_panorama_` for Panorama. If a data source or resource only
-works with one, it will say as much in the documentation. Additionally, the subheading
-for the documentation will now be just "Objects" or "Network" for any of these new
-style data sources/resources.
-
-NEW DATA SOURCES:
-
-* `panos_address_object` / `panos_address_objects`
-* `panos_anti_spyware_security_profile` / `panos_anti_spyware_security_profiles`
-* `panos_antivirus_security_profile` / `panos_antivirus_security_profiles`
-* `panos_arp` / `panos_arps`
-* `panos_custom_data_pattern_object` / `panos_custom_data_pattern_objects`
-* `panos_data_filtering_security_profile` / `panos_data_filtering_security_profiles`
-* `panos_device_group_parent`
-* `panos_dos_protection_profile` / `panos_dos_protection_profiles`
-* `panos_dynamic_user_group` / `panos_dynamic_user_groups`
-* `panos_file_blocking_security_profile` / `panos_file_blocking_security_profiles`
-* `panos_ospf`
-* `panos_ospf_area` / `panos_ospf_areas`
-* `panos_ospf_area_interface` / `panos_ospf_area_interfaces`
-* `panos_ospf_area_virtual_link` / `panos_ospf_area_virtual_links`
-* `panos_ospf_auth_profiles`
-* `panos_ospf_export` / `panos_ospf_exports`
-* `panos_predefined_dlp_file_type`
-* `panos_predefined_tdb_file_type`
-* `panos_predefined_threat`
-* `panos_url_filtering_security_profile` / `panos_url_filtering_security_profiles`
-* `panos_vulnerability_security_profile` / `panos_vulnerability_security_profiles`
-* `panos_wildfire_analysis_security_profile` / `panos_wildfire_analysis_security_profiles`
-* `panos_ip_tag`
-* `panos_user_tag`
-* `panos_vm_auth_key`
-
-NEW RESOURCES:
-
-* `panos_anti_spyware_security_profile`
-* `panos_antivirus_security_profile`
-* `panos_arp`
-* `panos_custom_data_pattern_object`
-* `panos_data_filtering_security_profile`
-* `panos_dos_protection_profile`
-* `panos_dynamic_user_group`
-* `panos_file_blocking_security_profile`
-* `panos_ip_tag`
-* `panos_ospf`
-* `panos_ospf_area`
-* `panos_ospf_area_interface`
-* `panos_ospf_area_virtual_link`
-* `panos_ospf_auth_profile`
-* `panos_ospf_export`
-* `panos_url_filtering_security_profile`
-* `panos_user_tag`
-* `panos_vulnerability_security_profile`
-* `panos_wildfire_analysis_security_profile`
-* `panos_device_group_parent`
-* `panos_vm_auth_key`
-
-UPDATES:
-
-* ECMP options added to `panos_virtual_router` / `panos_panorama_virtual_router`
-* LACP, HA, and LLDP options added to both ethernet interfaces and aggregate interfaces
-* `panos_panorama_plugin` has been renamed to `panos_plugin` and now also works with NGFW
- now. `panos_panorama_plugin` still exists as an alias but will be removed in a
- future release, so please update your plan files accordingly.
-* `panos_panorama_address_object` has been remade into the new "shared" style for
- data sources and resources as a kind of beta before touching any other existing
- resources. This will cause extra unused params to exist in resources, but should
- not affect functionality. Please let us know (GitHub issue) if this causes
- problems for you. Otherwise the intent is to slowly retrofit resources into this
- new style.
-
-## 1.6.3 (September 1, 2020)
-
-* Release for Terraform Registry
-
-## 1.6.2 (December 10, 2019)
-
-UPDATES:
-
-* Updated the provider to use the Terraform Plugin
- SDK ([#220](https://github.com/terraform-providers/terraform-provider-panos/issues/220))
-
-## 1.6.1 (November 19, 2019)
-
-UPDATES:
-
-* The provider can now manage XFR PAN-OS
- releases ([#216](https://github.com/terraform-providers/terraform-provider-panos/issues/216))
-* New optional provider
- param: `verify_certificate` ([#218](https://github.com/terraform-providers/terraform-provider-panos/issues/218))
-
-## 1.6.0 (August 30, 2019)
-
-NEW DATA SOURCES:
-
-* `panos_panorama_plugin` ([#178](https://github.com/terraform-providers/terraform-provider-panos/issues/178))
-
-NEW RESOURCES:
-
-* `panos_gre_tunnel` / `panos_panorama_gre_tunnel` ([#162](https://github.com/terraform-providers/terraform-provider-panos/issues/162))
-* `panos_monitor_profile` / `panos_panorama_monitor_profile` ([#182](https://github.com/terraform-providers/terraform-provider-panos/issues/182))
-* `panos_panorama_gcp_account` ([#179](https://github.com/terraform-providers/terraform-provider-panos/issues/179))
-* `panos_panorama_gke_cluster` ([#181](https://github.com/terraform-providers/terraform-provider-panos/issues/181))
-* `panos_panorama_gke_cluster_group` ([#180](https://github.com/terraform-providers/terraform-provider-panos/issues/180))
-* `panos_pbf_rule_group` / `panos_panorama_pbf_rule_group` ([#152](https://github.com/terraform-providers/terraform-provider-panos/issues/152))
-* `panos_vlan` / `panos_panorama_vlan` ([#145](https://github.com/terraform-providers/terraform-provider-panos/issues/145))
-* `panos_aggregate_interface` / `panos_panorama_aggregate_interface` ([#169](https://github.com/terraform-providers/terraform-provider-panos/issues/169))
-* `panos_vlan_entry` / `panos_panorama_vlan_entry` ([#146](https://github.com/terraform-providers/terraform-provider-panos/issues/146))
-* `panos_layer3_subinterface` / `panos_panorama_layer3_subinterface` ([#195](https://github.com/terraform-providers/terraform-provider-panos/issues/195))
-* `panos_layer2_subinterface` / `panos_panorama_layer2_subinterface` ([#82](https://github.com/terraform-providers/terraform-provider-panos/issues/82))
-* `panos_application_object` / `panos_panorama_application_object` ([#197](https://github.com/terraform-providers/terraform-provider-panos/issues/197))
-* `panos_application_group` / `panos_panorama_application_group` ([#198](https://github.com/terraform-providers/terraform-provider-panos/issues/198))
-* `panos_application_signature` / `panos_panorama_application_signature` ([#201](https://github.com/terraform-providers/terraform-provider-panos/issues/201))
-* `panos_snmptrap_server_profile` / `panos_panorama_snmptrap_server_profile` ([#203](https://github.com/terraform-providers/terraform-provider-panos/issues/203))
-* `panos_syslog_server_profile` / `panos_panorama_syslog_server_profile` ([#83](https://github.com/terraform-providers/terraform-provider-panos/issues/83))
-* `panos_email_server_profile` / `panos_panorama_email_server_profile` ([#206](https://github.com/terraform-providers/terraform-provider-panos/issues/206))
-* `panos_http_server_profile` / `panos_panorama_http_server_profile` ([#207](https://github.com/terraform-providers/terraform-provider-panos/issues/207))
-* `panos_log_forwarding_profile` / `panos_panorama_log_forwarding_profile` ([#84](https://github.com/terraform-providers/terraform-provider-panos/issues/84))
-
-NEW PARAMS ADDED TO:
-
-* `panos_address_object` / `panos_panorama_address_object` ([#174](https://github.com/terraform-providers/terraform-provider-panos/issues/174))
-* `panos_ethernet_interface` / `panos_panorama_ethernet_interface` ([#173](https://github.com/terraform-providers/terraform-provider-panos/issues/173))
-* `panos_service_object` / `panos_panorama_service_object` ([#175](https://github.com/terraform-providers/terraform-provider-panos/issues/175))
-
-BUG FIXES:
-
-* The ordering for administrative tags on objects (such as address objects or address groups) is now
- preserved ([#161](https://github.com/terraform-providers/terraform-provider-panos/issues/161))
-* The ordering for various list params in `panos_nat_rule_group` / `panos_panorama_nat_rule_group` is now
- ignored ([#143](https://github.com/terraform-providers/terraform-provider-panos/issues/143))
-* New params added to `panos_nat_rule_group` / `panos_panorama_nat_rule_group` to to replace `static` and `dynamic`
- as `dynamic` is now a recursively reserved keyword in Terraform
- 0.12 ([#167](https://github.com/terraform-providers/terraform-provider-panos/issues/167))
-
-## 1.5.2 (May 14, 2019)
-
-* `panos_ike_gateway` / `panos_panorama_ike_gateway` - `floating-ip` is now an accepted value
- for `local_ip_address_type` ([#158](https://github.com/terraform-providers/terraform-provider-panos/issues/158))
-* `panos_ike_gateway` / `panos_panorama_ike_gateway` - Updated documentation
- for `nat_traversal_keep_alive` ([#97](https://github.com/terraform-providers/terraform-provider-panos/issues/97))
-* Fixed the acctest
- for `panos_panorama_nat_rule` ([#147](https://github.com/terraform-providers/terraform-provider-panos/issues/147))
-* Properly handle when a list of strings is sent an empty
- string ([#153](https://github.com/terraform-providers/terraform-provider-panos/issues/153))
-* Updated the commit script given on the main documentation page to include more ways to specify auth
- credentials ([#160](https://github.com/terraform-providers/terraform-provider-panos/issues/160))
-* Updated to
- github.com/hashicorp/terraform@v0.12.0-rc1 ([#158](https://github.com/terraform-providers/terraform-provider-panos/issues/158))
-
-## 1.5.1 (February 05, 2019)
-
-The following resources can no longer be imported, as they have encrypted fields (thus there is no way to verify the
-plain text version of those
-fields) [[#139](https://github.com/terraform-providers/terraform-provider-panos/issues/139)]:
-
-* `panos_bgp_auth_profile` / `panos_panorama_bgp_auth_profile`
-* `panos_edl` / `panos_panorama_edl`
-* `panos_ike_gateway` / `panos_panorama_ike_gateway`
-* `panos_ipsec_tunnel` / `panos_panorama_ipsec_tunnel`
-
-## 1.5.0 (February 04, 2019)
-
-NEW RESOURCES:
-
-* `panos_bfd_profile` / `panos_panorama_bfd_profile` ([#107](https://github.com/terraform-providers/terraform-provider-panos/issues/107))
-* `panos_bgp` / `panos_panorama_bgp` ([#73](https://github.com/terraform-providers/terraform-provider-panos/issues/73))
-* `panos_bgp_aggregate` / `panos_panorama_bgp_aggregate` ([#124](https://github.com/terraform-providers/terraform-provider-panos/issues/124))
-* `panos_bgp_aggregate_advertise_filter` / `panos_panorama_bgp_aggregate_advertise_filter` ([#126](https://github.com/terraform-providers/terraform-provider-panos/issues/126))
-* `panos_bgp_aggregate_suppress_filter` / `panos_panorama_bgp_aggregate_suppress_filter` ([#128](https://github.com/terraform-providers/terraform-provider-panos/issues/128))
-* `panos_bgp_auth_profile` / `panos_panorama_bgp_auth_profile` ([#110](https://github.com/terraform-providers/terraform-provider-panos/issues/110))
-* `panos_bgp_conditional_adv` / `panos_panorama_bgp_conditional_adv`, `panos_bgp_conditional_adv_advertise_filter` / `panos_panorama_bgp_conditional_adv_advertise_filter`,
- and `panos_bgp_conditional_adv_non_exist_filter` / `panos_panorama_bgp_conditional_adv_non_exist_filter` ([#122](https://github.com/terraform-providers/terraform-provider-panos/issues/122))
-* `panos_bgp_dampening_profile` / `panos_panorama_bgp_dampening_profile` ([#111](https://github.com/terraform-providers/terraform-provider-panos/issues/111))
-* `panos_bgp_export_rule_group` / `panos_panorama_bgp_export_rule_group` ([#120](https://github.com/terraform-providers/terraform-provider-panos/issues/120))
-* `panos_bgp_import_rule_group` / `panos_panorama_bgp_import_rule_group` ([#118](https://github.com/terraform-providers/terraform-provider-panos/issues/118))
-* `panos_bgp_peer` / `panos_panorama_bgp_peer` ([#116](https://github.com/terraform-providers/terraform-provider-panos/issues/116))
-* `panos_bgp_peer_group` / `panos_panorama_bgp_peer_group` ([#114](https://github.com/terraform-providers/terraform-provider-panos/issues/114))
-* `panos_bgp_redist_rule` / `panos_panorama_bgp_redist_rule` ([#130](https://github.com/terraform-providers/terraform-provider-panos/issues/130))
-* `panos_nat_rule_group` / `panos_panorama_nat_rule_group` ([#78](https://github.com/terraform-providers/terraform-provider-panos/issues/78))
-* `panos_redistribution_profile_ivp4` / `panos_panorama_redistribution_profile_ipv4` ([#92](https://github.com/terraform-providers/terraform-provider-panos/issues/92))
-
-ENHANCEMENTS:
-
-* Almost every resource can now be
- imported ([#86](https://github.com/terraform-providers/terraform-provider-panos/issues/86))
-* Added proxy params
- to `panos_general_settings` ([#96](https://github.com/terraform-providers/terraform-provider-panos/issues/96))
-
-DEPRECATED RESOURCES:
-
-* `panos_nat_rule` / `panos_panorama_nat_rule` are both deprecated. Please
- use `panos_nat_rule_group` / `panos_panorama_nat_rule_group` instead.
-
-## 1.4.1 (October 26, 2018)
-
-NEW RESOURCES:
-
-* `panos_virtual_router_entry`
- and `panos_panorama_virtual_router_entry` ([#71](https://github.com/terraform-providers/terraform-provider-panos/issues/71))
-* `panos_zone_entry`
- and `panos_panorama_zone_entry` ([#74](https://github.com/terraform-providers/terraform-provider-panos/issues/74))
-
-BUG FIXES:
-
-* Panorama device groups no longer require a
- description. ([#81](https://github.com/terraform-providers/terraform-provider-panos/issues/81))
-* Panorama template stacks can now define
- a `default_vsys` ([#85](https://github.com/terraform-providers/terraform-provider-panos/issues/85))
-
-## 1.4.0 (August 27, 2018)
-
-NEW FEATURES:
-
-* Support for both templates and template stacks has been added to the provider. When defining your resource, use either
- the `template` variable if you want to attach it to a template, or `template_stack` if you want to attach it to a
- template stack.
-
-NEW DATA SOURCES:
-
-* `panos_dhcp_interface_info` ([#35](https://github.com/terraform-providers/terraform-provider-panos/issues/35))
-
-NEW RESOURCES:
-
-* `panos_ike_crypto_profile`
- and `panos_panorama_ike_crypto_profile` ([#37](https://github.com/terraform-providers/terraform-provider-panos/issues/37))
-* `panos_ipsec_crypto_profile`
- and `panos_panorama_ipsec_crypto_profile` ([#38](https://github.com/terraform-providers/terraform-provider-panos/issues/38))
-* `panos_tunnel_interface`
- and `panos_panorama_tunnel_interface` ([#42](https://github.com/terraform-providers/terraform-provider-panos/issues/42))
-* `panos_ike_gateway`
- and `panos_panorama_ike_gateway` ([#39](https://github.com/terraform-providers/terraform-provider-panos/issues/39))
-* `panos_ipsec_tunnel`, `panos_ipsec_tunnel_proxy_id_ipv4`, `panos_panorama_ipsec_tunnel`,
- and `panos_panorama_ipsec_tunnel_proxy_id_ipv4` ([#28](https://github.com/terraform-providers/terraform-provider-panos/issues/28))
-* `panos_edl`
- and `panos_panorama_edl` ([#27](https://github.com/terraform-providers/terraform-provider-panos/issues/27))
-* `panos_loopback_interface`
- and `panos_panorama_loopback_interface` ([#41](https://github.com/terraform-providers/terraform-provider-panos/issues/41))
-* `panos_vlan_interface`
- and `panos_panorama_vlan_interface` ([#40](https://github.com/terraform-providers/terraform-provider-panos/issues/40))
-* `panos_static_route_ipv4`
- and `panos_panorama_static_route_ipv4` ([#30](https://github.com/terraform-providers/terraform-provider-panos/issues/30))
-* `panos_panorama_template`, `panos_panorama_template_entry`, `panos_panorama_template_stack`, `panos_panorama_template_stack_entry`,
- and `panos_panorama_template_variable` ([#43](https://github.com/terraform-providers/terraform-provider-panos/issues/43))
-* `panos_license_api_key`
- and `panos_licensing` ([#24](https://github.com/terraform-providers/terraform-provider-panos/issues/24))
-* `panos_panorama_management_profile` ([#58](https://github.com/terraform-providers/terraform-provider-panos/issues/58))
-* `panos_panorama_ethernet_interface` ([#60](https://github.com/terraform-providers/terraform-provider-panos/issues/60))
-* `panos_panorama_zone` ([#62](https://github.com/terraform-providers/terraform-provider-panos/issues/62))
-* `panos_panorama_virtual_router` ([#64](https://github.com/terraform-providers/terraform-provider-panos/issues/64))
-
-## 1.3.0 (June 27, 2018)
-
-RENAMED RESOURCES:
-
-The following resources have been renamed for clarity from their original names. Both the old name and the new name will
-work right now, but please update your plans to use the new names as the original names may be removed / repurposed in
-the future.
-
-* `panos_nat_policy` is
- now `panos_nat_rule` ([#34](https://github.com/terraform-providers/terraform-provider-panos/issues/34))
-* `panos_security_policies` is
- now `panos_security_policy` ([#34](https://github.com/terraform-providers/terraform-provider-panos/issues/34))
-* `panos_security_policy_group` is
- now `panos_security_rule_group` ([#34](https://github.com/terraform-providers/terraform-provider-panos/issues/34))
-* `panos_panorama_nat_policy` is
- now `panos_panorama_nat_rule` ([#34](https://github.com/terraform-providers/terraform-provider-panos/issues/34))
-* `panos_panorama_security_policies` is
- now `panos_panorama_security_policy` ([#34](https://github.com/terraform-providers/terraform-provider-panos/issues/34))
-* `panos_panorama_security_policy_group` is
- now `panos_panorama_security_rule_group` ([#34](https://github.com/terraform-providers/terraform-provider-panos/issues/34))
-
-## 1.2.0 (June 19, 2018)
-
-FEATURES:
-
-* **New Resource:** `panos_telemetry` ([#31](https://github.com/terraform-providers/terraform-provider-panos/issues/31))
-* **New Resource:
- ** `panos_security_policy_group` ([#20](https://github.com/terraform-providers/terraform-provider-panos/issues/20)] [[#32](https://github.com/terraform-providers/terraform-provider-panos/issues/32))
-* **New Resource:
- ** `panos_panorama_security_policy_group` ([#20](https://github.com/terraform-providers/terraform-provider-panos/issues/20)] [[#32](https://github.com/terraform-providers/terraform-provider-panos/issues/32))
-
-NOTES:
-
-* The new `DatType` param is now required if you are doing destination address translation in your NAT policies. This
- applies to both `panos_nat_policy` and `panos_panorama_nat_policy`. Please update your plan files accordingly.
-
-ENHANCEMENTS:
-
-* `panos_nat_policy` and `panos_panorama_nat_policy` now support PAN-OS 8.1's dynamic destination NAT address
- type ([#25](https://github.com/terraform-providers/terraform-provider-panos/issues/25)] [[#33](https://github.com/terraform-providers/terraform-provider-panos/issues/33))
-
-FIXES:
-
-* Creating Panorama service objects in device
- groups ([#26](https://github.com/terraform-providers/terraform-provider-panos/issues/26)] [[#29](https://github.com/terraform-providers/terraform-provider-panos/issues/29))
-
-## 1.1.0 (April 26, 2018)
-
-FEATURES:
-
-* **New Feature:** Added Panorama
- support ([#3](https://github.com/terraform-providers/terraform-provider-panos/issues/3))
-* **New Feature:** Added support for credentials file for provider
- config ([#5](https://github.com/terraform-providers/terraform-provider-panos/issues/5))
-* **New Resource:** `panos_panorama_address_group`
-* **New Resource:** `panos_panorama_address_object`
-* **New Resource:** `panos_panorama_administrative_tag`
-* **New Resource:** `panos_panorama_device_group`
-* **New Resource:** `panos_panorama_device_group_entry`
-* **New Resource:** `panos_panorama_nat_policy`
-* **New Resource:** `panos_panorama_security_policies`
-* **New Resource:** `panos_panorama_service_group`
-* **New Resource:** `panos_panorama_service_object`
-
-ENHANCEMENTS:
-
-* `panos_nat_policy`: The `rulebase` parameter has been deprecated. You can safely remove this from your plan files.
-* `panos_security_policies`: The `rulebase` parameter has been deprecated. You can safely remove this from your plan
- files.
-
-## 1.0.0 (January 31, 2018)
-
-FEATURES:
-
-* **New Data Source:** `panos_system_info`
-* **New Resource:** `panos_address_group`
-* **New Resource:** `panos_address_object`
-* **New Resource:** `panos_administrative_tag`
-* **New Resource:** `panos_dag_tags`
-* **New Resource:** `panos_ethernet_interface`
-* **New Resource:** `panos_general_settings`
-* **New Resource:** `panos_management_profile`
-* **New Resource:** `panos_nat_policy`
-* **New Resource:** `panos_security_policies`
-* **New Resource:** `panos_service_group`
-* **New Resource:** `panos_service_object`
-* **New Resource:** `panos_virtual_router`
-* **New Resource:** `panos_zone`
diff --git a/assets/tf_provider/tf_provider/LICENSE b/assets/tf_provider/tf_provider/LICENSE
deleted file mode 100644
index a612ad98..00000000
--- a/assets/tf_provider/tf_provider/LICENSE
+++ /dev/null
@@ -1,373 +0,0 @@
-Mozilla Public License Version 2.0
-==================================
-
-1. Definitions
---------------
-
-1.1. "Contributor"
- means each individual or legal entity that creates, contributes to
- the creation of, or owns Covered Software.
-
-1.2. "Contributor Version"
- means the combination of the Contributions of others (if any) used
- by a Contributor and that particular Contributor's Contribution.
-
-1.3. "Contribution"
- means Covered Software of a particular Contributor.
-
-1.4. "Covered Software"
- means Source Code Form to which the initial Contributor has attached
- the notice in Exhibit A, the Executable Form of such Source Code
- Form, and Modifications of such Source Code Form, in each case
- including portions thereof.
-
-1.5. "Incompatible With Secondary Licenses"
- means
-
- (a) that the initial Contributor has attached the notice described
- in Exhibit B to the Covered Software; or
-
- (b) that the Covered Software was made available under the terms of
- version 1.1 or earlier of the License, but not also under the
- terms of a Secondary License.
-
-1.6. "Executable Form"
- means any form of the work other than Source Code Form.
-
-1.7. "Larger Work"
- means a work that combines Covered Software with other material, in
- a separate file or files, that is not Covered Software.
-
-1.8. "License"
- means this document.
-
-1.9. "Licensable"
- means having the right to grant, to the maximum extent possible,
- whether at the time of the initial grant or subsequently, any and
- all of the rights conveyed by this License.
-
-1.10. "Modifications"
- means any of the following:
-
- (a) any file in Source Code Form that results from an addition to,
- deletion from, or modification of the contents of Covered
- Software; or
-
- (b) any new file in Source Code Form that contains any Covered
- Software.
-
-1.11. "Patent Claims" of a Contributor
- means any patent claim(s), including without limitation, method,
- process, and apparatus claims, in any patent Licensable by such
- Contributor that would be infringed, but for the grant of the
- License, by the making, using, selling, offering for sale, having
- made, import, or transfer of either its Contributions or its
- Contributor Version.
-
-1.12. "Secondary License"
- means either the GNU General Public License, Version 2.0, the GNU
- Lesser General Public License, Version 2.1, the GNU Affero General
- Public License, Version 3.0, or any later versions of those
- licenses.
-
-1.13. "Source Code Form"
- means the form of the work preferred for making modifications.
-
-1.14. "You" (or "Your")
- means an individual or a legal entity exercising rights under this
- License. For legal entities, "You" includes any entity that
- controls, is controlled by, or is under common control with You. For
- purposes of this definition, "control" means (a) the power, direct
- or indirect, to cause the direction or management of such entity,
- whether by contract or otherwise, or (b) ownership of more than
- fifty percent (50%) of the outstanding shares or beneficial
- ownership of such entity.
-
-2. License Grants and Conditions
---------------------------------
-
-2.1. Grants
-
-Each Contributor hereby grants You a world-wide, royalty-free,
-non-exclusive license:
-
-(a) under intellectual property rights (other than patent or trademark)
- Licensable by such Contributor to use, reproduce, make available,
- modify, display, perform, distribute, and otherwise exploit its
- Contributions, either on an unmodified basis, with Modifications, or
- as part of a Larger Work; and
-
-(b) under Patent Claims of such Contributor to make, use, sell, offer
- for sale, have made, import, and otherwise transfer either its
- Contributions or its Contributor Version.
-
-2.2. Effective Date
-
-The licenses granted in Section 2.1 with respect to any Contribution
-become effective for each Contribution on the date the Contributor first
-distributes such Contribution.
-
-2.3. Limitations on Grant Scope
-
-The licenses granted in this Section 2 are the only rights granted under
-this License. No additional rights or licenses will be implied from the
-distribution or licensing of Covered Software under this License.
-Notwithstanding Section 2.1(b) above, no patent license is granted by a
-Contributor:
-
-(a) for any code that a Contributor has removed from Covered Software;
- or
-
-(b) for infringements caused by: (i) Your and any other third party's
- modifications of Covered Software, or (ii) the combination of its
- Contributions with other software (except as part of its Contributor
- Version); or
-
-(c) under Patent Claims infringed by Covered Software in the absence of
- its Contributions.
-
-This License does not grant any rights in the trademarks, service marks,
-or logos of any Contributor (except as may be necessary to comply with
-the notice requirements in Section 3.4).
-
-2.4. Subsequent Licenses
-
-No Contributor makes additional grants as a result of Your choice to
-distribute the Covered Software under a subsequent version of this
-License (see Section 10.2) or under the terms of a Secondary License (if
-permitted under the terms of Section 3.3).
-
-2.5. Representation
-
-Each Contributor represents that the Contributor believes its
-Contributions are its original creation(s) or it has sufficient rights
-to grant the rights to its Contributions conveyed by this License.
-
-2.6. Fair Use
-
-This License is not intended to limit any rights You have under
-applicable copyright doctrines of fair use, fair dealing, or other
-equivalents.
-
-2.7. Conditions
-
-Sections 3.1, 3.2, 3.3, and 3.4 are conditions of the licenses granted
-in Section 2.1.
-
-3. Responsibilities
--------------------
-
-3.1. Distribution of Source Form
-
-All distribution of Covered Software in Source Code Form, including any
-Modifications that You create or to which You contribute, must be under
-the terms of this License. You must inform recipients that the Source
-Code Form of the Covered Software is governed by the terms of this
-License, and how they can obtain a copy of this License. You may not
-attempt to alter or restrict the recipients' rights in the Source Code
-Form.
-
-3.2. Distribution of Executable Form
-
-If You distribute Covered Software in Executable Form then:
-
-(a) such Covered Software must also be made available in Source Code
- Form, as described in Section 3.1, and You must inform recipients of
- the Executable Form how they can obtain a copy of such Source Code
- Form by reasonable means in a timely manner, at a charge no more
- than the cost of distribution to the recipient; and
-
-(b) You may distribute such Executable Form under the terms of this
- License, or sublicense it under different terms, provided that the
- license for the Executable Form does not attempt to limit or alter
- the recipients' rights in the Source Code Form under this License.
-
-3.3. Distribution of a Larger Work
-
-You may create and distribute a Larger Work under terms of Your choice,
-provided that You also comply with the requirements of this License for
-the Covered Software. If the Larger Work is a combination of Covered
-Software with a work governed by one or more Secondary Licenses, and the
-Covered Software is not Incompatible With Secondary Licenses, this
-License permits You to additionally distribute such Covered Software
-under the terms of such Secondary License(s), so that the recipient of
-the Larger Work may, at their option, further distribute the Covered
-Software under the terms of either this License or such Secondary
-License(s).
-
-3.4. Notices
-
-You may not remove or alter the substance of any license notices
-(including copyright notices, patent notices, disclaimers of warranty,
-or limitations of liability) contained within the Source Code Form of
-the Covered Software, except that You may alter any license notices to
-the extent required to remedy known factual inaccuracies.
-
-3.5. Application of Additional Terms
-
-You may choose to offer, and to charge a fee for, warranty, support,
-indemnity or liability obligations to one or more recipients of Covered
-Software. However, You may do so only on Your own behalf, and not on
-behalf of any Contributor. You must make it absolutely clear that any
-such warranty, support, indemnity, or liability obligation is offered by
-You alone, and You hereby agree to indemnify every Contributor for any
-liability incurred by such Contributor as a result of warranty, support,
-indemnity or liability terms You offer. You may include additional
-disclaimers of warranty and limitations of liability specific to any
-jurisdiction.
-
-4. Inability to Comply Due to Statute or Regulation
----------------------------------------------------
-
-If it is impossible for You to comply with any of the terms of this
-License with respect to some or all of the Covered Software due to
-statute, judicial order, or regulation then You must: (a) comply with
-the terms of this License to the maximum extent possible; and (b)
-describe the limitations and the code they affect. Such description must
-be placed in a text file included with all distributions of the Covered
-Software under this License. Except to the extent prohibited by statute
-or regulation, such description must be sufficiently detailed for a
-recipient of ordinary skill to be able to understand it.
-
-5. Termination
---------------
-
-5.1. The rights granted under this License will terminate automatically
-if You fail to comply with any of its terms. However, if You become
-compliant, then the rights granted under this License from a particular
-Contributor are reinstated (a) provisionally, unless and until such
-Contributor explicitly and finally terminates Your grants, and (b) on an
-ongoing basis, if such Contributor fails to notify You of the
-non-compliance by some reasonable means prior to 60 days after You have
-come back into compliance. Moreover, Your grants from a particular
-Contributor are reinstated on an ongoing basis if such Contributor
-notifies You of the non-compliance by some reasonable means, this is the
-first time You have received notice of non-compliance with this License
-from such Contributor, and You become compliant prior to 30 days after
-Your receipt of the notice.
-
-5.2. If You initiate litigation against any entity by asserting a patent
-infringement claim (excluding declaratory judgment actions,
-counter-claims, and cross-claims) alleging that a Contributor Version
-directly or indirectly infringes any patent, then the rights granted to
-You by any and all Contributors for the Covered Software under Section
-2.1 of this License shall terminate.
-
-5.3. In the event of termination under Sections 5.1 or 5.2 above, all
-end user license agreements (excluding distributors and resellers) which
-have been validly granted by You or Your distributors under this License
-prior to termination shall survive termination.
-
-************************************************************************
-* *
-* 6. Disclaimer of Warranty *
-* ------------------------- *
-* *
-* Covered Software is provided under this License on an "as is" *
-* basis, without warranty of any kind, either expressed, implied, or *
-* statutory, including, without limitation, warranties that the *
-* Covered Software is free of defects, merchantable, fit for a *
-* particular purpose or non-infringing. The entire risk as to the *
-* quality and performance of the Covered Software is with You. *
-* Should any Covered Software prove defective in any respect, You *
-* (not any Contributor) assume the cost of any necessary servicing, *
-* repair, or correction. This disclaimer of warranty constitutes an *
-* essential part of this License. No use of any Covered Software is *
-* authorized under this License except under this disclaimer. *
-* *
-************************************************************************
-
-************************************************************************
-* *
-* 7. Limitation of Liability *
-* -------------------------- *
-* *
-* Under no circumstances and under no legal theory, whether tort *
-* (including negligence), contract, or otherwise, shall any *
-* Contributor, or anyone who distributes Covered Software as *
-* permitted above, be liable to You for any direct, indirect, *
-* special, incidental, or consequential damages of any character *
-* including, without limitation, damages for lost profits, loss of *
-* goodwill, work stoppage, computer failure or malfunction, or any *
-* and all other commercial damages or losses, even if such party *
-* shall have been informed of the possibility of such damages. This *
-* limitation of liability shall not apply to liability for death or *
-* personal injury resulting from such party's negligence to the *
-* extent applicable law prohibits such limitation. Some *
-* jurisdictions do not allow the exclusion or limitation of *
-* incidental or consequential damages, so this exclusion and *
-* limitation may not apply to You. *
-* *
-************************************************************************
-
-8. Litigation
--------------
-
-Any litigation relating to this License may be brought only in the
-courts of a jurisdiction where the defendant maintains its principal
-place of business and such litigation shall be governed by laws of that
-jurisdiction, without reference to its conflict-of-law provisions.
-Nothing in this Section shall prevent a party's ability to bring
-cross-claims or counter-claims.
-
-9. Miscellaneous
-----------------
-
-This License represents the complete agreement concerning the subject
-matter hereof. If any provision of this License is held to be
-unenforceable, such provision shall be reformed only to the extent
-necessary to make it enforceable. Any law or regulation which provides
-that the language of a contract shall be construed against the drafter
-shall not be used to construe this License against a Contributor.
-
-10. Versions of the License
----------------------------
-
-10.1. New Versions
-
-Mozilla Foundation is the license steward. Except as provided in Section
-10.3, no one other than the license steward has the right to modify or
-publish new versions of this License. Each version will be given a
-distinguishing version number.
-
-10.2. Effect of New Versions
-
-You may distribute the Covered Software under the terms of the version
-of the License under which You originally received the Covered Software,
-or under the terms of any subsequent version published by the license
-steward.
-
-10.3. Modified Versions
-
-If you create software not governed by this License, and you want to
-create a new license for such software, you may create and use a
-modified version of this License if you rename the license and remove
-any references to the name of the license steward (except to note that
-such modified license differs from this License).
-
-10.4. Distributing Source Code Form that is Incompatible With Secondary
-Licenses
-
-If You choose to distribute Source Code Form that is Incompatible With
-Secondary Licenses under the terms of this version of the License, the
-notice described in Exhibit B of this License must be attached.
-
-Exhibit A - Source Code Form License Notice
--------------------------------------------
-
- This Source Code Form is subject to the terms of the Mozilla Public
- License, v. 2.0. If a copy of the MPL was not distributed with this
- file, You can obtain one at http://mozilla.org/MPL/2.0/.
-
-If it is not possible or desirable to put the notice in a particular
-file, then You may include the notice in a location (such as a LICENSE
-file in a relevant directory) where a recipient would be likely to look
-for such a notice.
-
-You may add additional accurate notices of copyright ownership.
-
-Exhibit B - "Incompatible With Secondary Licenses" Notice
----------------------------------------------------------
-
- This Source Code Form is "Incompatible With Secondary Licenses", as
- defined by the Mozilla Public License, v. 2.0.
diff --git a/assets/tf_provider/tf_provider/Makefile b/assets/tf_provider/tf_provider/Makefile
deleted file mode 100644
index 996696bf..00000000
--- a/assets/tf_provider/tf_provider/Makefile
+++ /dev/null
@@ -1,18 +0,0 @@
-default: test
-
-test:
- go test ./...
-
-verbose:
- go test -v ./...
-
-bench:
- go test -v -bench . ./...
-
-fmt:
- find . -type f -name \*.go | xargs gofmt -w
-
-docs:
- go generate
-
-.PHONY: test verbose bench fmt docs
diff --git a/assets/tf_provider/tf_provider/README.md b/assets/tf_provider/tf_provider/README.md
deleted file mode 100644
index 2e57f92b..00000000
--- a/assets/tf_provider/tf_provider/README.md
+++ /dev/null
@@ -1,81 +0,0 @@
-Terraform Provider for Palo Alto Networks PANOS
-===============================================
-
-**NOTE**: This is the v2 version of the panos Terraform provider. It is in active development. Feedback is welcome on
-the overall approach things are taken via the Discussions tab.
-
-
-Requirements
-------------
-
-- [Terraform](https://www.terraform.io/downloads.html) 1.14+
-- [Go](https://golang.org/doc/install) 1.21 (to build the provider from source)
-
-Building The Provider
----------------------
-
-1. Install [Go](https://go.dev/dl)
-
-2. Clone the SDK repo:
-
-```sh
-git clone https://github.com/paloaltonetworks/pango
-```
-
-3. Clone this repo:
-
-```sh
-git clone https://github.com/paloaltonetworks/terraform-provider-panos
-```
-
-4. Build the provider:
-
-```sh
-cd terraform-provider-panos
-go build .
-```
-
-5. Specify the `dev_overrides` configuration per the next section below. This tells Terraform where to find the provider
- you just built. The directory to specify is the full path to the cloned provider repo.
-
-Developing the Provider
------------------------
-
-With Terraform v1 and
-later, [development overrides for provider developers](https://www.terraform.io/docs/cli/config/config-file.html#development-overrides-for-provider-developers)
-can be leveraged in order to use the provider built from source.
-
-To do this, populate a Terraform CLI configuration file (`~/.terraformrc` for all platforms other than
-Windows; `terraform.rc` in the `%APPDATA%` directory when using Windows) with at least the following options:
-
-```hcl
-provider_installation {
- dev_overrides {
- "registry.terraform.io/paloaltonetworks-local/panos" = "/directory/containing/the/provider/binary/here"
- }
-
- direct {}
-}
-```
-
-Then when referencing the locally built provider, use the local name in the `terraform` configuration block like so:
-
-```hcl
-terraform {
- required_providers {
- panos = {
- source = "paloaltonetworks-local/panos"
- version = "1.0.0"
- }
- }
-}
-```
-
-Support
--------
-
-This template/script/solution is released “as-is”, with no warranty and no support. These should be seen as community
-supported and Palo Alto Networks may contribute its expertise at its discretion. Palo Alto Networks, including through
-its Authorized Support Centers (ASC) partners and backline support options, will not provide technical support or help
-in using or troubleshooting this template/script/solution. The underlying product used by this template/script/solution
-will still be supported in accordance with the product’s applicable support policy and the customer’s entitlements.
diff --git a/assets/tf_provider/tf_provider/terraform-registry-manifest.json b/assets/tf_provider/tf_provider/terraform-registry-manifest.json
deleted file mode 100644
index 295001a0..00000000
--- a/assets/tf_provider/tf_provider/terraform-registry-manifest.json
+++ /dev/null
@@ -1,6 +0,0 @@
-{
- "version": 1,
- "metadata": {
- "protocol_versions": ["6.0"]
- }
-}
diff --git a/assets/tf_provider/tools/tools.go b/assets/tf_provider/tools/tools.go
deleted file mode 100644
index 4bd6c181..00000000
--- a/assets/tf_provider/tools/tools.go
+++ /dev/null
@@ -1,9 +0,0 @@
-//go:build tools
-// +build tools
-
-package tools
-
-import (
- // Ensure documentation generator is not removed from go.mod.
- _ "github.com/hashicorp/terraform-plugin-docs/cmd/tfplugindocs"
-)
diff --git a/cmd/codegen/config.yaml b/cmd/codegen/config.yaml
index 96679574..7d213fec 100644
--- a/cmd/codegen/config.yaml
+++ b/cmd/codegen/config.yaml
@@ -68,30 +68,6 @@ assets:
go_sdk: false
terraform_provider: true
destination: "internal/provider"
- tf_provider_github_package:
- source: "assets/tf_provider/.github"
- target:
- go_sdk: false
- terraform_provider: true
- destination: ".github"
- tf_provider_templates:
- source: "assets/tf_provider/templates"
- target:
- go_sdk: false
- terraform_provider: true
- destination: "templates"
- tf_provider_tools:
- source: "assets/tf_provider/tools"
- target:
- go_sdk: false
- terraform_provider: true
- destination: "tools"
- tf_provider_docs:
- source: "assets/tf_provider/docs"
- target:
- go_sdk: false
- terraform_provider: true
- destination: "docs"
tf_provider_examples:
source: "assets/tf_provider/examples"
target: