Testing opentofu

2024-01-31 - Little improvements and what it means for small providers like mine
Tags: Eventline opentofu terraform

Introduction

This January, the opentofu project announced the general availability of their terraform fork. Not much changes for now between terraform and opentofu (and that is a good thing!), as far as I can tell the announcement was mostly about the new provider registry and of course the truly open source license.

Registry change

The opentofu registry already has all the providers you are accustomed to, but your state will need to be migrated with:

tofu init -upgrade`

For some providers you might encounter the following warning:

- Installed cloudflare/cloudflare v4.23.0. Signature validation was skipped due to the registry not containing GPG keys for this provider

This is harmless and will resolve itself when the providers’ developers provide the public GPG key used to sign their releases to the opentofu registry. The process is very simple thanks to their GitHub workflow automation.

Little improvements

Eventline terraform provider

I did the required pull requests on the opentofu registry to have my Eventline provider all fixed up and ready to rock!

Conclusion

I hope opentofu really takes off, the little improvements they made already feel like a breath of fresh air. Terraform could be so much more!