You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(deploy): restore stack selection strategy for deploy and diff
Adds StackSelectionStrategy.PATTERN_MUST_MATCH with targetStackName to
toolkitWrapper.deploy() and toolkitWrapper.diff() calls. Without this,
the CDK toolkit fails with "NoStack: CloudFormationStack object does not
hold a stack" when deploying projects with HTTP gateways.
Also fixes multi-target consistency: uses targetStackName (derived from
project name + target name) as the canonical stackName throughout the
function, and scopes checkStackDeployability to the target stack only.
Adds a guard that fails early if the target stack isn't found in the
synthesized assembly.
0 commit comments