Feature: IncludeNestedStacks switch for "sam deploy" command
Author: tomasz-bresCreated Feb 12, 2025Updated Feb 3, 2026
Labelsstage/needs-investigation
Hello
With "AWS::Serverless::Application" the SAM project can be divided into multiple templates.
However with the sam deploy command, the created changeset doesn't show an impact on resources within nested stacks.
Example:
CloudFormation stack changeset
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Operation LogicalResourceId ResourceType Replacement
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
* Modify IoT AWS::CloudFormation::Stack False
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
It would be nice to have "IncludeNestedStacks" same way as it's available for CreateChangeSet command for Cloudformation.
Source: aws/serverless-application-model