The Custom TF Provider for my Weightlifting App's API
April 13, 2025
views
I made a custom Terraform provider for the API that backs my iOS app, BrickByBrick Fitness.
The main purpose of making it was to learn about the process of writing and publishing new Terraform providers to the Terraform Registry. Part of the process involved adding API key authentication to my API which previously could only authenticate users through a Supabase Auth JWT.
At the time of writing, issuing API keys is by manual request only (i.e., I manually issue the token from the backend). Once I flesh out the Terraform provider with more resources and review the security implications, I will make this auth mechanism available to "power users". At that point, the provider could be useful for (to name one example) sharing "exercise libraries" or sharing progressive overload strategies with other users.
You can find the provider on the public Terraform Registry here.