Configuration Driven Infrastructure as Code can be very useful there are a large number of resources to manage. See how we use this technique for managing a Palo Alto Panorama ruleset.