Skip to content

Commit

Permalink
Install example use latest version
Browse files Browse the repository at this point in the history
To avoid confusion, the docs show install examples using the latest
ESF version.
  • Loading branch information
zmoog committed Mar 4, 2025
1 parent 390e99c commit 1d10993
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions docs/reference/aws-deploy-elastic-serverless-forwarder.md
Original file line number Diff line number Diff line change
Expand Up @@ -605,7 +605,7 @@ $ pip3 install awscli aws-sam-cli ruamel.yaml
Assuming `publish-config.yaml` in saved in the same directory you intend to run `publish_lambda.sh` from, here’s an example:

```bash
$ ./publish_lambda.sh publish-config.yaml forwarder-lambda lambda-v1.6.0 s3-lambda-artifact-bucket-name eu-central-1
$ ./publish_lambda.sh publish-config.yaml forwarder-lambda lambda-v1.19.0 s3-lambda-artifact-bucket-name eu-central-1
```


Expand All @@ -614,11 +614,11 @@ $ ./publish_lambda.sh publish-config.yaml forwarder-lambda lambda-v1.6.0 s3-lamb
You can update the version of a published Elastic Serverless Forwarder without changing its configuration by running the publishing script again and passing a **new** [`forwarder-tag`](https://github.com/elastic/elastic-serverless-forwarder/tags):

```bash
$ ./publish_lambda.sh publish-config.yaml forwarder-lambda lambda-v1.7.0 s3-lambda-artifact-bucket-name eu-central-1
$ ./publish_lambda.sh publish-config.yaml forwarder-lambda lambda-v[new-version] s3-lambda-artifact-bucket-name eu-central-1
```

::::{note}
The above examples show the forwarder being updated from `lambda-v1.6.0` to `lambda-v1.7.0`.
The above examples show the forwarder being updated from `lambda-v1.19.0` to `lambda-v[new-version]`.
::::


Expand All @@ -628,11 +628,11 @@ The above examples show the forwarder being updated from `lambda-v1.6.0` to `lam
If you want to change the configuration of a published Elastic Serverless Forwarder without changing its version, you can update the `publish-config.yaml` and run the script again using the **same** `forwarder-tag`:

```bash
$ ./publish_lambda.sh publish-config.yaml forwarder-lambda lambda-v1.6.0 s3-lambda-artifact-bucket-name eu-central-1
$ ./publish_lambda.sh publish-config.yaml forwarder-lambda lambda-v1.19.0 s3-lambda-artifact-bucket-name eu-central-1
```

::::{note}
The above example shows an existing `lambda-v1.6.0` configuration being updated without changing version.
The above example shows an existing `lambda-v1.19.0` configuration being updated without changing version.
::::


Expand All @@ -642,9 +642,9 @@ The above example shows an existing `lambda-v1.6.0` configuration being updated
If you want to use the publish script for deploying the forwarder with different configurations, create two different `publish-config.yaml` files with unique names and run the publishing script twice, with correct references to the `config-path` and `lambda-name`:

```bash
$ ./publish_lambda.sh publish-config-for-first-lambda.yaml first-lambda lambda-v1.6.0 s3-lambda-artifact-bucket-name eu-central-1
$ ./publish_lambda.sh publish-config-for-first-lambda.yaml first-lambda lambda-v1.19.0 s3-lambda-artifact-bucket-name eu-central-1
$ ./publish_lambda.sh publish-config-for-second-lambda.yaml second-lambda lambda-v1.6.0 ss3-lambda-artifact-bucket-name eu-central-1
$ ./publish_lambda.sh publish-config-for-second-lambda.yaml second-lambda lambda-v1.19.0 ss3-lambda-artifact-bucket-name eu-central-1
```

::::{note}
Expand Down

0 comments on commit 1d10993

Please sign in to comment.