Release: sourcehut (sr.ht) OpenTofu / Terraform provider and Go library

> posts > 2024 > Dec

Published:

Today I released terraform-provider-sourcehut and the related Go library sourcehut-go into the wild. The majority of code is licensed under BSD-2-Clause. The provider is available in the OpenTofu and Terraform registry. The online version of the Documentation can be found there as well.

sourcehut-go is a Go SDK for accessing the sourcehut legacy REST API with oauth personal access tokens created via meta.sr.ht/oauth.

Both projects are based on the work of Sam Whited who archived the former code base on August 22, 2022.

My motivation to improve and release it: I plan to move my git repository management to OpenTofu. Providers for my usual mirror targets GitHub, Gitlab and GitLab are available. But there was no functional and published provider for sourcehut (sr.ht). Which I use as my primary code hosting and build platform.

Now that the library and provider are in a working state, I can continue to work on the actual project :D

[ Show Source | Download PDF ]