Provisioning cloud infrastructure based on IaC like Terraform means you can version the code, track each change, and everyone can see the changes made when they need to. You can also provision either an entirely new environment or quickly and simply recover the whole infrastructure.
All posts for
Mateo shows how to automate the compilation of Go code and the building of Docker images using Gradle as the build tool. Spoiler, there are three different ways: using the existing GoGradle plugin, using Make, and using Mage.