---
title: "Discussion on \"How to invoke an AWS Lambda Function at scheduled intervals with AWS EventBridge Rule using Terraform\" | Hashnode"
description: "Discussion on \"How to invoke an AWS Lambda Function at scheduled intervals with AWS EventBridge Rule using Terraform\". How to invoke an AWS Lambda Function at scheduled intervals with AWS EventBridge Rule using Terraform"
url: "https://hashnode.com/posts/how-to-invoke-an-aws-lambda-function-at-scheduled-intervals-with-aws-eventbridge-rule-using-terraform/6138c3327abd7c45f70f4803"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How to invoke an AWS Lambda Function at scheduled intervals with AWS EventBridge Rule using Terraform](https://rahullokurte.com/how-to-invoke-an-aws-lambda-function-at-scheduled-intervals-with-aws-eventbridge-rule-using-terraform?utm_source=hashnode&utm_medium=feed)

How to invoke an AWS Lambda Function at scheduled intervals with AWS EventBridge Rule using Terraform

Sep 8, 2021 · 5 min read · rahullokurte.com  
Updated Sep 14, 2021  
Read the article

-   [#aws](https://hashnode.com/tag/aws)
-   [#terraform](https://hashnode.com/tag/terraform)
-   [#2articles1week](https://hashnode.com/tag/2articles1week)

## Written by

[Rahul Lokurte](https://hashnode.com/@rahullokurte)

@rahullokurte · Bengaluru, India

  
[View profile](https://hashnode.com/@rahullokurte)

Cloud and Serverless Enthusiast

I am a Lead Engineer from India. Love to blog about serverless and help teams design and develop serverless architecture. An AWS cloud practitioner. Blogs about AWS Services utilising AWS CDK, CloudFormation, Terraform.

## Responses 4

Markdown supported · ⌘↵ to post

[Ranjana R](https://hashnode.com/@ranjanar)

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

Hi, I want to start scheduler from a specific time. How can I add the same in Terraform template?

Thanks

[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"

?

[Chin Sam](https://hashnode.com/@chin96)

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

Rahul Lokurte, thanks for the post, great job!!!

[Wajid Baig](https://hashnode.com/@wabmca)

[Sep 27, 2021](https://hashnode.com/posts/how-to-invoke-an-aws-lambda-function-at-scheduled-intervals-with-aws-eventbridge-rule-using-terraform/6138c3327abd7c45f70f4803/comment/615154839b404a3239699d89)

Hi, Great tutorial thanks tons. Just wondering where/how did you provision event bridge?

Thanks, Ahmed

[Rahul Lokurte](https://hashnode.com/@rahullokurte)

[Sep 27, 2021](https://hashnode.com/posts/how-to-invoke-an-aws-lambda-function-at-scheduled-intervals-with-aws-eventbridge-rule-using-terraform/6138c3327abd7c45f70f4803/comment/615154839b404a3239699d89#reply-6152186b040ee87236950707)

Glad you liked it. Provisioned it through Terraform. We can only create scheduled rules on the default event bus. So, you do not see any event bus creation in terraform script inside the blog. Hope this helps.
