Ansible - AWS and PANW

L1 Bithead

Ansible - AWS and PANW

Hello everyone,

 

i have just started to learn about ansible, and i have a big black cloud in my head about one thing.

Let's supose that i already have a Firewall in my AWS environment and i need to setup ansible to identify new EC2 instances and configure the Firewall automatically, in other words, on theory, how will it work? 

I know that ansible has a module for AWS and PANW (i have already tested the PANW module without AWS), but i can't visualise how i can identify an instance, get the IP and put i inside a NAT policy, inside a dynamic group or a security policy.

 

Could you help me?

Thank you

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 Live Community as a whole!

The Live Community thanks you for your participation!