Unsupported Terraform Core version

[0mModule lambda (from “…/aws/lambda/modules”)
does not support Terraform version 0.12.29. To proceed, either choose another
supported Terraform version or update the module’s version constraint. Version
constraints are normally set for good reason, so updating the constraint may
lead to other errors or unexpected behavior.

Terraform literally told you what the problem is already.