Skip to content
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

[docs] Install examples use latest version #872

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

zmoog
Copy link
Contributor

@zmoog zmoog commented Mar 4, 2025

What does this PR do?

Update the publish_lambda.sh usage example using the latest ESF version.

Why is it important?

Avoid the confusion that may come from examples using a two-year-old version.

The publish_lambda.sh script published the Lambda application to the SAR, so it does not target regular users. However, it can create confusion, so it's worth using the latest version.

Checklist

  • My code follows the style guidelines of this project
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • I have made corresponding change to the default configuration files
  • I have added tests that prove my fix is effective or that my feature works
  • I have added an entry in CHANGELOG.md and updated share/version.py, if my change requires a new release.

Author's Checklist

  • [ ]

How to test this PR locally

Related issues

Use cases

Screenshots

Logs

To avoid confusion, the docs show install examples using the latest
ESF version.
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PR Overview

This PR updates the documentation examples for deploying the Elastic Serverless Forwarder to use the latest version, reducing confusion regarding version references.

  • Updated install and update commands to use lambda version "v1.19.0" or a placeholder "[new-version]" where applicable.
  • Adjusted commands in multiple examples to reflect the new version, ensuring consistency in documentation.

Reviewed Changes

File Description
docs/reference/aws-deploy-elastic-serverless-forwarder.md Updated version references in CLI examples to the latest version and replaced outdated version strings with new ones or placeholders.

Copilot reviewed 1 out of 1 changed files in this pull request and generated 1 comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PR Overview

This PR updates the installation examples for the publish_lambda.sh script to use the latest ESF version, reducing potential confusion.

  • Updates version numbers from v1.6.0/v1.7.0 to v1.19.0 or a placeholder for new versions
  • Corrects a typo in the bucket name for the second Lambda example

Reviewed Changes

File Description
docs/reference/aws-deploy-elastic-serverless-forwarder.md Updated version numbers and fixed a typo in the bucket name

Copilot reviewed 1 out of 1 changed files in this pull request and generated no comments.

Comments suppressed due to low confidence (1)

docs/reference/aws-deploy-elastic-serverless-forwarder.md:617

  • [nitpick] Consider using a consistent version format (e.g., lambda-v1.19.0) instead of the placeholder lambda-v[new-version] to prevent potential confusion for users.
+$ ./publish_lambda.sh publish-config.yaml forwarder-lambda lambda-v[new-version] s3-lambda-artifact-bucket-name eu-central-1
Copy link

github-actions bot commented Mar 4, 2025

Minimum allowed coverage is 100%

Generated by 🐒 cobertura-action against c2481e6

@zmoog zmoog self-assigned this Mar 4, 2025
@zmoog zmoog added the documentation Improvements or additions to documentation label Mar 4, 2025
@zmoog zmoog marked this pull request as ready for review March 4, 2025 23:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant