Skip to content

How to provision resources to a Palo Alto firewall with Terraform

Notifications You must be signed in to change notification settings

borgermeister/terraform_pan

Repository files navigation

Instructions how to use this repository

Install Terraform locally

Install Terraform

Get API key from firewall

curl -k -X GET "https://10.10.10.10/api/?type=keygen&user=terraform&password=SecretPassword%23" // Use https://www.urlencoder.org if password contains special characters like '# $ %'

Create environmental variables

export TF_VAR_PANOS_HOSTNAME=10.10.10.10
export TF_VAR_PANOS_USERNAME=terraform
export TF_VAR_PANOS_API_KEY=LUFRPT1UaHpwUVhtWjdNdkhCeG1NNTZROUh.....

Update variables

Update the file pan.auto.tfvars with your own variables

About

How to provision resources to a Palo Alto firewall with Terraform

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages