Skip to content

[DOC] The docs on aws_lambda.invocation_type are wrong #9872

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
2 of 4 tasks
rpash opened this issue May 8, 2025 · 2 comments · May be fixed by #9895
Open
2 of 4 tasks

[DOC] The docs on aws_lambda.invocation_type are wrong #9872

rpash opened this issue May 8, 2025 · 2 comments · May be fixed by #9895
Assignees
Labels
1 - Backlog - DOC Doc writer assigned to issue responsible for creating PR. data-prepper

Comments

@rpash
Copy link

rpash commented May 8, 2025

What do you want to do?

  • Request a change to existing documentation
  • Add new documentation
  • Report a technical problem with the documentation
  • Other

Tell us about your request. Provide a summary of the request.

The documents for the AWS Lambda processor for the Ingestion Pipeline are wrong. They state:

invocation_type | String | Required | Specifies the invocation type, either request-response or event. Default is request-response.

Not only is this field not required, it is not allowed. Attempting to deploy a pipeline with such a configuration via CDK results in the following error:

Resource handler returned message: 
  "pipelineConfigurationBody is invalid with the following errors: [ValidationMessage(message=
    "aws_lambda.invocation_type" is an invalid parameter, and should be removed for Amazon OpenSearch Ingestion pipelines using an aws_lambda processor: ...

Version: List the OpenSearch version to which this issue applies, e.g. 2.14, 2.12--2.14, or all.
2

What other resources are available? Provide links to related issues, POCs, steps for testing, etc.
Any ingestion pipeline with an aws_lambda processor

@rpash rpash added the untriaged label May 8, 2025
@Naarcha-AWS Naarcha-AWS added 1 - Backlog - DOC Doc writer assigned to issue responsible for creating PR. and removed untriaged labels May 13, 2025
@Naarcha-AWS Naarcha-AWS self-assigned this May 13, 2025
@Naarcha-AWS Naarcha-AWS linked a pull request May 13, 2025 that will close this issue
1 task
@Naarcha-AWS
Copy link
Collaborator

@rpash: Submitted a PR that should address this issue, #9895. Let me know if that addresses the issue.

@rpash
Copy link
Author

rpash commented May 27, 2025

The PR adds some confusion actually. Why is the invocation_type field in the docs if it is not supported?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1 - Backlog - DOC Doc writer assigned to issue responsible for creating PR. data-prepper
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants