You can use Ansible and Terraform for network automation. Josh VanDeraa and Ned Bellavance explore the differences between these tools on the Packet Pushers' Heavy Networking podcast. To hear the full conversation, play episode 537 at https://packetpushers.net/series/week....
Josh VanDeraa has an instructional course "Ansible For Network Automation" at ignition.packetpushers.net.
Ned Bellavance blogs at https://nedinthecloud.com/ and co-hosts the weekly Day Two Cloud podcast at https://daytwocloud.io/.