---
title: "Comment by AZ on \"How to invoke an AWS Lambda Function at scheduled intervals with AWS EventBridge Rule using Terraform\" | Hashnode"
description: "is there any difference between using &quot;module lambda&quot; and resource &quot;aws_lambda_function&quot; ?"
url: "https://hashnode.com/posts/how-to-invoke-an-aws-lambda-function-at-scheduled-intervals-with-aws-eventbridge-rule-using-terraform/6138c3327abd7c45f70f4803/comment/62f23882408d676b1b58996e"
---

[Discussion](https://hashnode.com/posts/how-to-invoke-an-aws-lambda-function-at-scheduled-intervals-with-aws-eventbridge-rule-using-terraform/6138c3327abd7c45f70f4803)

Comment [How to invoke an AWS Lambda Function at scheduled intervals with AWS EventBridge Rule using Terraform](https://hashnode.com/posts/how-to-invoke-an-aws-lambda-function-at-scheduled-intervals-with-aws-eventbridge-rule-using-terraform/6138c3327abd7c45f70f4803)

[AZ](https://hashnode.com/@arq)

[Aug 9, 2022](https://hashnode.com/posts/how-to-invoke-an-aws-lambda-function-at-scheduled-intervals-with-aws-eventbridge-rule-using-terraform/6138c3327abd7c45f70f4803/comment/62f23882408d676b1b58996e)

is there any difference between using

"module lambda"

and

resource "aws\_lambda\_function"

?
