How to check docker and terraform files using Codiga
However, code is not only about the services you implement but also how you deploy them. In order to deploy our software, developers use shell scripts (already supported by Codiga) and configuration files written in different languages. Popular languages for such configuration files are the docker file format, used to build containers, and terraform, a declarative language that helps you deploy software.
Until now, these languages were not analyzed by Codiga. We are happy to announce that now, all users of Codiga can check docker and terraform files. Codiga checks good practices as well as security and safety issues in all your terraform and docker files. For example, for docker files, a warning is produced if the program is executed under the root user (a good practice is to specify a user within your docker file).
There is nothing for you to do to enable these new languages, they are enabled for everybody by default. If you do not want to use these additional rules, you can disable them in your project preferences.
We hope you enjoy these additional verifications and help you to catch any issues in the code that helps you manage your infrastructure.