As a big data developer on my co-op term I use Terraform to create infrastructure as code (IaC) on Google Cloud Platform. While creating infrastructure, I wanted to have a simple way to see what infra I deployed and to what project.
What it does
std-terraform is a Slack Bot & Github Infrastructure as code integration. When a developer pushed new code to Github to create new infra a Slack message is sent to a channel describing the infrastructure bing created.
How I built it
I used the std library to create the slack integration and used Google Cloud Functions to do the backend data processing to find out the created infrastructure.
Challenges I ran into
The std lib does not have an easy way to process data from Github so I had to work on Google Cloud Platform to do data processing and pass data back and forth.
Accomplishments that I'm proud of
I was able to create modular and scalable code based on a serverless microservice structure. It successfully tracks Terraform infrastructure and passes back the modules in a user friendly manner. The code I created is all open source and free for anyone to use under the MIT license.
What I learned
I learned how to use the std library and learned how to create an open source tool.
What's next for std-terraform
I plan on integrating std-terraform at my co-op position to easily display all the infrastructure on our large infra.