-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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 request: SAM CLI -Include-dir (Terraform) (Build) #5339
Comments
I would like this feature too, currently trying to help setup SAM and Terraform at a client where lambda function projects are structure similar to the above. local debugging and testing isn't great at the moment but SAM working with Terraform would solve this massively |
Thanks for the feature request. We understand this to be a limitation currently impacting customers and are looking at a few different ways to address this issue! |
Hi @mildaniel , Do we have an ETA or a view on when this is in the roadmap. Also do we need to update the tags to add |
Hi @jordancparker, |
|
Hi Team,
I think this has been discussed in other threads, but it would be really helpful if we can help with more structured repositories in a terraform work flow like the below:
I prepose a couple of solutions:
--include-dir "../src/*"
sam_metadata
resource `I have tried playing with the --base-dir and --manifest flags however when the file is located above the root it cannot identify the ../src folder with the lambda code.
It would be amazing to see if we can help with more flexible terraform builds to suit the structured folders, instead of putting the python structure under the terraform folder.
The text was updated successfully, but these errors were encountered: