Nested stack validation incorrect #5029
Labels
@aws-cdk/aws-codepipeline
Related to AWS CodePipeline
bug
This issue is a bug.
needs-triage
This issue or PR still needs to be triaged.
If I try to create a nested stack that deploys cross account, the error message should not give a regex stack name validation error message if the stack name matches the valid regex.
PipelineConstruct
that creates a codepipeline pipeline.CloudFormationCreateReplaceChangeSetAction
that deploys to a different account by specifying a different account in the account property of the action.NestedStack
and uses the stack class as the scope.PipelineConstruct
and use the initialized nested stack as the scope.cdk list
Error Log
Exception in thread "main" software.amazon.jsii.JsiiException: Stack name must match the regular expression: /^[A-Za-z][A-Za-z0-9-]*$/, got 'cross-account-support-stack-123456789012' Error: Stack name must match the regular expression: /^[A-Za-z][A-Za-z0-9-]*$/, got 'cross-account-support-stack-123456789012'
Environment
This is 🐛 Bug Report
The text was updated successfully, but these errors were encountered: