We at Labyrinth Labs believe that ongoing movement towards to the cloud services and infrastructure with all technologies related to the infrastructure as a code are part of the expected evolution in this field. In this blog post we describe why and how we use Terraform modules, how we publish them and how we are using GitHub actions for them.
You can also create a module and publish it to help other users.
And because it is automatic with one source of the truth, it will be always consistent and up to date.
Before publishing the module you need to create comprehensible documentation and clearly specify inputs and outputs and also make sure that your module is in good shape.