Terraform and AWS Lambda Configuration Troubleshooting

Job ID: 36677688

Budget: $10 – $30 USD

Hey Im trying to configure a terraform file to automatically make a IAM role with policies and a function. But for some reason when I open the URL it says internal state error. I am trying to make a live visitor counter that pulls from dynamo db. I even gave the role full dynamo access but still can't get it to work

I get the message [ERROR] Runtime.HandlerNotFound: Handler 'handler' missing on module 'func' Traceback (most recent call last):

When i check cloudwatch logs
Related categories: Python Aws Lambda Terraform