Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature: lambroll deploy can create Event Source Mapping with flag (like --event-source-mapping) #387

Open
kittyflute1812 opened this issue Apr 4, 2024 · 1 comment

Comments

@kittyflute1812
Copy link

Hi, thanks for developing a useful deployment tool for lambda!

I create a Lambda event source mappings with aws cli after running lambroll deploy and creating a Lambda Function.
I think it would be useful to be able to create Event Source Mapping at the same time when executing lambroll deploy. (with flags like --event-source-mapping)

Thank you.

@fujiwara
Copy link
Owner

fujiwara commented Sep 2, 2024

@kittyflute1812 I'm sorry for the slow response.

I thought about managing event source mappings by lambroll, but it is difficult for the reasons below.

Multiple event source mappings can be attached to a lambda function.

When we want to change configurations of some mappings, lambroll has to detect the ones that need to be updated or created only from passed CLI arguments. But it seems impossible because lambroll doesn't have state information (like a tfstate of Terraform).

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

No branches or pull requests

2 participants