chore(pipelines): reference discoverReferencedOutputs in error message#19176
chore(pipelines): reference discoverReferencedOutputs in error message#19176mergify[bot] merged 3 commits intomasterfrom
discoverReferencedOutputs in error message#19176Conversation
|
The following code still fails public produceAction (stage: codepipeline.IStage, _options: pipelines.ProduceActionOptions): pipelines.CodePipelineActionFactoryResult {
const lambdaPrefix = `arn:aws:lambda:${Stack.of(this.scope).region}:${Stack.of(this.scope).account}`;
const lambdaf = lambda.Function.fromFunctionArn(this.scope, 'Lambda', `${lambdaPrefix}:function:CallReleaseDocumentService`);
const userParameters = {
PARAM_1: 'foo',
...this.userParameters,
PARAM_2: 'bar',
};
this.discoverReferencedOutputs(userParameters);
stage.addAction(new actions.LambdaInvokeAction({
actionName: 'TestAction',
lambda: lambdaf,
userParameters,
}));
return { runOrdersConsumed: 1 };
}The documentation of |
|
|
Also see the example in the README |
|
Thank you for contributing! Your pull request will be updated from master and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork). |
1 similar comment
|
Thank you for contributing! Your pull request will be updated from master and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork). |
The need to call this function is referenced in the README, but if you already have written custom steps you're not going to read the README again. Include the same hints in the error message. Fixes #19173.
bb1bb67 to
a165d01
Compare
|
Thank you for contributing! Your pull request will be updated from master and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork). |
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
|
Thank you for contributing! Your pull request will be updated from master and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork). |
…age (#19176) The need to call this function is referenced in the README, but if you already have written custom steps you're not going to read the README again. Include the same hints in the error message. Fixes #19173. ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
The need to call this function is referenced in the README, but if you
already have written custom steps you're not going to read the README
again.
Include the same hints in the error message.
Fixes #19173.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license