Terraform

Terraform - Automate and Secure Cloud Applications with Palo Alto Networks Next-Gen Firewall

About Terraform

Terraform is a powerful open source tool that is used to build and deploy infrastructure safely and efficiently. The advantage of Terraform is that it is cloud platform agnostic (unlike AWS CFT’s or Azure ARM templates), provides for the definition of infrastructure as code, and produces immutable infrastructure deployments. The Palo Alto Networks Terraform automation project offers Terraform templates to assist in deploying agile infrastructures based on the Palo Alto Networks next generation firewalls in the cloud.

Note: This is a community supported project. Please do not contact the Palo Alto Networks support team, as they will only direct you here for assistance. We encourage you to post your topics and questions in the discussion forums. Thank you!

Terraform Blogs

Terraform Provider Version 1.5.0 Released

post time: 02-04-2019

The 1.5.0 release contains support for BGP, BFD profiles, an enhanced NAT rule resource, and various user requested enhancements.

Terraform Provider Version 1.4.0 Released

post time: 08-27-2018

The 1.4.0 release includes expanded support for Panorama (such as ethernet interfaces, templates, and template variables), IPSec tunnels, IKE gateways, firewall licensing, and much more.

Terraform Provider Version 1.2.0 Released

post time: 06-19-2018

The 1.2.0 release includes support for security policy groups, PAN-OS 8.1's FQDN destination address translations, and telemetry sharing with Palo Alto Networks.

Terraform Provider Version 1.1.0 Released

post time: 05-01-2018

The 1.1.0 release includes Panorama support, an alternative method for specifying device credentials, and many new resources.

Terraform Templates for Cloud-Deployed Palo Alto Network Next Generation Firewalls

post time: 08-07-2017

Templates for Terraform provide the ability to quickly and easily deploy and secure critical applications on the Palo Alto Networks Next Generation firewall for public cloud environments such as AWS and Azure. The Palo Alto Networks Live Community provides a central place to learn how to utilize this technology, get help from others using it, and more.

Downloads

Discussions

Have questions about how to utilize Terraform to automate your Palo Alto Networks deployments? Join the Live Community to post your questions and get answers.
Author Topic Views Replies
posted: 2 weeks ago updated: a week ago

Windows Script to connect PaloAlto firewall and run commands

Hi TeamMy requirement is:Run a Python/Powershell script from a windows box which should connect to Palo Alto by command line with SSH connection and r...

514 8
posted: 2 weeks ago updated: Thursday

Ansible disable firewall rules

Hello All,I have recently started experimenting with Ansible and managed to add/remove some rules. It's been a steep learning curve so far, I must adm...

243 2
posted: 3 weeks ago updated: 3 weeks ago

Policy Optimizer API calls

I am trying to create a report and automate disabling rules that have not been used in the last 30 days.  the report will run the 1 st of ev...

387 1
posted: 3 weeks ago updated: 2 weeks ago

IpsecTunnel api refresh

im trying to get a list of ipsec tunnels from each template stack i have. but anytime i attempt to use the class pandevice.network.IpsecTunnel i recei...

371 4
posted: 3 weeks ago updated: 3 weeks ago

PANOS software upgrade automation using panorama

HI All, Is there anyone who is working on panos version/software upgrade automation via panorama. Please share script or APIs....

188 0