Import Existing Security Policies from Panorama to Terraform code (Reverse Terraform for Palo Alto)

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Import Existing Security Policies from Panorama to Terraform code (Reverse Terraform for Palo Alto)

L2 Linker

I created a script to reverse Terraform Security Policies from Panorama to be Managed by terraform 

Currently only works with Security Policies, i'll be working in the future to work with the rest of the configuration in a panorama.

 

https://github.com/gabrielmontiel/PanosReverseTerraform

I hope you find this useful, feel free to collaborate on it too!

Gabriel Montiel
3 REPLIES 3

L4 Transporter

@GabrielMontiel Very good idea. Thank you

L5 Sessionator

Thanks @GabrielMontiel.

 

I see this uses an XML config file; if you have a live device you can also use Terraformer.

Help the community: "Like" helpful comments, and click "Accept as Solution" if you found your answer 🙂

Yes i just saw that terraformer had support for the panos terraform provider just recently, there's an issue with it though that the policies can not have a whitespace in the name. i guess its easier to pull request than to build it from scratch

Gabriel Montiel
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!