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
During creation of the CodePipeline CI/CD pipeline I noticed it is not possible to use cdk.Token values in the pipelineName, because following property is always validated against string.
Having following configuration (this = cdk.Stack)...:
... I will encounter following command when trying to synthesize template:
/some_project/_cdk/node_modules/@aws-cdk/aws-codepipeline-api/lib/validation.ts:48 throw new Error(`${thing} name must match regular expression: ${VALID_IDENTIFIER_REGEX.toString()}, got '${name}'`); ^Error: Pipeline name must match regular expression: /^[a-zA-Z0-9.@_-]{1,100}$/, got '${Token[my-stack.AWS::StackName.79]}' at Object.validateName (/some_project/_cdk/node_modules/@aws-cdk/aws-codepipeline-api/lib/validation.ts:48:11)
May cdk.Token be whitelisted as a value for pipelineName property?
The text was updated successfully, but these errors were encountered:
During creation of the CodePipeline CI/CD pipeline I noticed it is not possible to use
cdk.Token
values in thepipelineName
, because following property is always validated against string.Having following configuration (
this
=cdk.Stack
)...:... I will encounter following command when trying to synthesize template:
May
cdk.Token
be whitelisted as a value forpipelineName
property?The text was updated successfully, but these errors were encountered: