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
Resource Binding for multiple Lambda Functions #3695
Comments
Hmm is there an issue you are running into? |
No, its just a conceptional question as while I'm coding one particular lambda function, the typescript type definitions suggest an environment variable is available whereas it is not available because it was bound to another function. This gives a false sense of security when one of our devs forgets to check the actual bindings in the infrastructure part. So its more like a maintenance issue than a functional one. Thus I am asking whether I set it up wrong or this case was not taken into consideration yet. |
I just noticed that lambda types are generated only once in the .sst folder for all lambda functions in our project.
I would expect to see separate types for each lambda because we bind different resources to the respective functions.
Is this intended our is something misconfigured in our project?
The text was updated successfully, but these errors were encountered: