Automation Task

Job ID: 33413013

Budget: $30 – $250 USD

I have over 16 OpenVPN instances running in 16 different AWS regions on EC2 instances. Currently, we us AWS SSM to access the openVPN instances to create new user accounts on each server or instance. See the basic bash script attached.
However, I want a solution where I can provision/decommission and manage users from all these instances from one centralized location or place. I want a simple and straightforward solution where if I want to onboard or add a new user called "Mary Doe", I should just update a single file with the username "mdoe" and it triggers the entire automation cycle to create the users account and emails them their username temporary passwords.

Tools Available to Automate this Problem:
1) AWS Lambda, S3, DynamoDB, & SSM
2) Terraform
3) BitBucket