Skip to content

Commit 864e76a

Browse files
docs(codepipeline): add note about repoString param resolvability at runtime (#27109)
This PR addresses an issue encountered when setting up an AWS CDK pipeline where unresolved token values for the `repoString` parameter led to a runtime error. The updated docstring now explicitly mentions that the `repoString` must be resolvable at runtime and that unresolved tokens are intended to be a runtime error Closes #27100. Thanks to @peterwoodworth for the quick assessment and the proposed solution to the problem. ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
1 parent 07c6775 commit 864e76a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/aws-cdk-lib/pipelines/lib/codepipeline/codepipeline-source.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ export abstract class CodePipelineSource extends Step implements ICodePipelineAc
101101
* If you need access to symlinks or the repository history, be sure to set
102102
* `codeBuildCloneOutput`.
103103
*
104-
* @param repoString A string that encodes owner and repository separated by a slash (e.g. 'owner/repo').
104+
* @param repoString A string that encodes owner and repository separated by a slash (e.g. 'owner/repo'). The provided string must be resolvable at runtime.
105105
* @param branch The branch to use.
106106
* @param props The source properties, including the connection ARN.
107107
*

0 commit comments

Comments
 (0)