Terraform lambda invokes same function every 60 seconds

Hello, I am trying to invoke lambda using data source “aws_lambda_invocation”. It works fine if lambda gets respond from function within 60 secs. If it is beyond 60 seconds, lambda executes the function continuosly.It will keep going

The same code works fine with mac Terraform version v1.0.5 but its giving an issue as below on windows Terraform V1.0.6 (amd64)

Terraform Code

data  "aws_lambda_invocation" "example" {
  function_name = aws_lambda_function.packer1.function_name

  input = <<JSON
{
  "package": "package/packer.zip",
  "packer_vars": {
  "build" : "100"
  }
}
JSON
}

output "result_entry" {
   value = data.aws_lambda_invocation.example.result
}

Lambda code

import json
from time import sleep

def lambda_handler(even, context):
    sleep(120)
    return {
        "statusCode" : 200,
        "body" : json.dumps({"name" : "test"})
    }

Terraform output
ata.aws_lambda_invocation.example: Still reading… [10s elapsed]
data.aws_lambda_invocation.example: Still reading… [20s elapsed]
data.aws_lambda_invocation.example: Still reading… [30s elapsed]
data.aws_lambda_invocation.example: Still reading… [40s elapsed]
data.aws_lambda_invocation.example: Still reading… [50s elapsed]
data.aws_lambda_invocation.example: Still reading… [1m0s elapsed]
data.aws_lambda_invocation.example: Still reading… [1m10s elapsed]
data.aws_lambda_invocation.example: Still reading… [1m20s elapsed]
data.aws_lambda_invocation.example: Still reading… [1m30s elapsed]
data.aws_lambda_invocation.example: Still reading… [1m40s elapsed]
data.aws_lambda_invocation.example: Still reading… [1m50s elapsed]
data.aws_lambda_invocation.example: Still reading… [2m0s elapsed]
data.aws_lambda_invocation.example: Still reading… [2m10s elapsed]
data.aws_lambda_invocation.example: Still reading… [2m20s elapsed]
data.aws_lambda_invocation.example: Still reading… [2m30s elapsed]
data.aws_lambda_invocation.example: Still reading… [2m40s elapsed]

and keeps going…

Please help to assist me here