Building a really simple GitHub Actions CI 'workflow' to validate Terraform code
Briefly

This CI workflow for Terraform ensures that any changes made to the infrastructure code are validated and checked for potential issues, fostering a more stable deployment process.
The first job in the workflow checks out the code from GitHub using the 'actions/checkout@v3' action, setting up the necessary environment for the subsequent steps.
Next, the 'terraform validate' step is critical; it validates Terraform configuration files in a directory, ensuring all the syntax and semantics are correct before further actions are performed.
Finally, both 'tflint' and 'tfsec' tools are utilized to analyze the Terraform code for linting errors and security issues, promoting best practices in coding.
Read at Medium
[
]
[
|
]