'Commit terraform.lock.hcl into GitHub

I want to commit the terraform.lock.hcl file when running GitHub Actions in opeville/opeville-aws-terraform so that the version remain locked but I'm having some issue achieving that. Please any suggestion on how to achieve this when running GitHub Actions.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source