Skip to content
This repository was archived by the owner on Sep 10, 2023. It is now read-only.

Fix/add context to invoke lambda #23

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

TonySherman
Copy link

This is a proposed solution for #22. I also updated dependencies and bumped the docker container up to Python 3.9.

invoked_function_arn: str = (
f"arn:aws:lambda:us-east-1:123456789012:function{function_name}"
)
aws_request_id: str = "da658bd3-2d6f-4e7b-8ec2-937234644fdc"
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This could probably be changed to aws_request_id: str = str(uuid4()) to dynamically generate a request id.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant