I would like to publish a application to the Serverless Application Repository that is using nested stacks without having to create a different Application for each Nested Stack.
When running: "sam publish", I get error:
Error: Resource with id [MyNestedApp] is invalid. Location property must be an Application Location Object referencing a valid AWS Serverless Application Repository application.
If I publish the nested template as it's own application in the Serverless Application Repository, as shown below, everything works fine.
We have a roadmap here, but we also try to take in popular feature requests based on 👍🏽 from the community. We will be adding this to our intake for prioritization.
Describe your idea/feature/enhancement
I would like to publish a application to the Serverless Application Repository that is using nested stacks without having to create a different Application for each Nested Stack.
My template looks as follows:
When running: "sam publish", I get error: Error: Resource with id [MyNestedApp] is invalid. Location property must be an Application Location Object referencing a valid AWS Serverless Application Repository application.
If I publish the nested template as it's own application in the Serverless Application Repository, as shown below, everything works fine.
I wish SAM CLI would support publishing applications that supported nested stacks without having to publish each Nested Stack individually.