See the results of the HashiCraft Holiday Hackathon.
Before the holidays, we announced the HashiCraft Holiday Hackathon, a fun little event where the HashiCorp community can show off their creativity and learn something new about the HashiCorp tools. In this post, we are excited to share the winning entries with you, a hackathon is a great way to learn some new skills, and we think the entries were terrific.
Our first winner is Grace and her fantastic application, which curates a Twitter feed full of Holiday pets, Petmas.
To create Petmas, Grace wrote a scraper in Python that uses the Twitter API and Selenium to gather the data, storing it in an Azure SQL database.
Throughout this exercise, Grace says that she has learned many new things, from buying a domain to running her server and learning Terraform.
We love your project Grace, and we also love your video, which explains what you built; it is all incredibly well done.
We love Michael’s tool Clairvoyance, which reports drift in your Terraform state. Clairvoyance scans directories containing Terraform code and uses Terraform Exec to initialize and generate a plan for the Terraform configuration it discovers.
Clairvoyance interprets this data and produces a report that notifies you if the state for your Terraform-managed infrastructure has changed, giving you an early warning to correct any issues. The report Clairvoyance generates can either be written to StdOut or posted to a Discord server.
Future plans for Clairvoyance are to build a Docker container so that Michael can run it on Kubernetes as a Cron job.
While building this project, Michael said he learned a lot about Go, specifically how to parallelize operations using goroutines and channels. Micheal also streamed the whole process on his brilliant Twitch channel; we recommend you head over there and give him a follow.
Jonathan has built a Terraform provider that can interact with the open-source Falcon Player for configuring addressable RGB lighting.
Falcon Player runs on a RaspberryPi or Beagle Bone black and exposes an interface to control ARGB lighting strips that use the WS2811 or WS2812b standard.
It is clear to see how a Terraform provider can help with Falcon Player’s configuration; there are many different options such as the ARGB lights connection, the sequence file for the animation, a playlist, and optionally a schedule. Jonathan has elegantly encapsulated these options in his Terraform provider.
Using his provider, Jonathan can
terraform apply the lights for his Xmas tree. We especially love the HashiCorp colors used in his demo. We recommend you check out Jonathan’s demo video; he explains the provider and demos the full setup. When we saw the final demo at 8:20 in the video, it blew our minds. We will 100% be setting this up at HashiCraft towers next holiday season.
We should have excluded this team for not including us in the gift exchange, but we decided instead to award the prize of the most secure gift exchange in the spirit of the holidays.
Shobs spun up a HashiCorp Vault cluster using Terraform and created a frontend interface using NodeJS. Everyone in the team then entered a gift into the cluster, keeping them safe and secure before the gifting commenced.
The game rules were based on the rules for the “White Elephant Gift Exchange” (https://www.whiteelephantrules.com/), with a few minor changes to facilitate socially distanced gifting.
We love this hack and are ever so slightly bitter still we did not get to take part, but now we have the source code to run our exchange next year.
Shobs's Travelling Waterbottle:
Team Nowel submitted not one but two amazing hacks. An extension for deploying Vault and storing secrets in Home Assistant and a Terraform provider for Home Assistant enables all-around festive control of your lighting, music, and video.
The team also created some Terraform modules for other holidays such as easter.
In their video, the team mentioned that hacking on this project allowed them to learn Go, and it was the first time they had tried to build a Terraform provider. We think they did a fantastic job, and it looks like they had lots of fun doing it.
Terraform Provider Project Repository:
Vault Add on Project Repository:
Thank you to everyone who submitted an entry; they were all fantastic. We apologize in advance, but this will probably be the last blog post you read from us as we loved your hacks so much we will be busy integrating them all here at HashiCraft towers.
HashiCorp employees from around the world share how they’re celebrating Lunar New Year and the cultural traditions they practice.
The second installment in a blog series on how to build the skills needed to become a developer advocate (or similar technical roles). This post focuses on building empathy.
This is the first installment in a series of blog posts on how to build the skills needed to become a developer advocate (or similar technical roles). This post focuses on public speaking.