-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Labels
area/local/invokesam local invoke commandsam local invoke commandarea/nested-stacksstage/pm-reviewWaiting for review by our Product Manager, please don't work on this yetWaiting for review by our Product Manager, please don't work on this yettype/featureFeature requestFeature request
Description
Describe your idea/feature/enhancement
I think from reading this PR: #2760 .. that it's a known issue in the sam cli that you can't pass a layer reference as a parameter from the top-level stack to a function in a nested stack for the purposes of sam local invoke; you get a "Layer is an Invalid Layer Arn" error.
It would be deluxe to be able to define a layer in the top-level stack, share that layer with functions in nested stacks, and also be able to use sam local invoke for testing. Is support for that on your roadmap at all?
Additional Details
I put a sample project at https://github.com/mbradburn/sam-nested-layer in case I'm unclear in my description of the issue.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area/local/invokesam local invoke commandsam local invoke commandarea/nested-stacksstage/pm-reviewWaiting for review by our Product Manager, please don't work on this yetWaiting for review by our Product Manager, please don't work on this yettype/featureFeature requestFeature request