Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/PaloAltoNetworks/terraform-provider-panos
Terraform Panos provider
https://github.com/PaloAltoNetworks/terraform-provider-panos
paloaltonetworks terraform terraform-provider
Last synced: about 1 month ago
JSON representation
Terraform Panos provider
- Host: GitHub
- URL: https://github.com/PaloAltoNetworks/terraform-provider-panos
- Owner: PaloAltoNetworks
- License: mit
- Created: 2018-01-30T17:53:18.000Z (almost 7 years ago)
- Default Branch: main
- Last Pushed: 2024-09-12T23:41:59.000Z (3 months ago)
- Last Synced: 2024-09-14T06:00:11.975Z (3 months ago)
- Topics: paloaltonetworks, terraform, terraform-provider
- Language: Go
- Homepage: https://www.terraform.io/docs/providers/panos/
- Size: 11.9 MB
- Stars: 87
- Watchers: 23
- Forks: 70
- Open Issues: 126
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
- awesome-tf - terraform-provider-panos - Provider for [Palo Alto Networks next-generation firewalls](https://www.paloaltonetworks.com/network-security). (Providers / Vendor supported providers)
README
Terraform Provider for Palo Alto Networks PANOS
===============================================> [!NOTE]
> This provider is auto-generated via [pan-os-codegen](https://github.com/PaloAltoNetworks/pan-os-codegen)> [!CAUTION]
> This software is currently in alpha development stage. It is strongly recommended not to use this package in production environments. If you choose to use it for experimental or developmental purposes, please do so with caution.- Website: https://www.terraform.io
- Documentation: https://www.terraform.io/docs/providers/panos/index.html> [!TIP]
> ### Getting Started
> [Guide on Wiki](https://github.com/PaloAltoNetworks/pan-os-codegen/wiki/Getting-Started)Requirements
------------- [Terraform](https://www.terraform.io/downloads.html) 1.8.x or higher
- [Go](https://golang.org/doc/install) 1.22 (to build the provider plugin)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 = "2.0.0"
}
}
}
```