Skip to content

Commit be97e4e

Browse files
authored
docs(lambda-layers): point to alternative versions (#24071)
---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
1 parent 8de50d6 commit be97e4e

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

packages/@aws-cdk/lambda-layer-awscli/README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,3 +25,8 @@ fn.addLayers(new AwsCliLayer(this, 'AwsCliLayer'));
2525
```
2626

2727
The CLI will be installed under `/opt/awscli/aws`.
28+
29+
## Alternatives
30+
31+
This module bundles AWS cli v1. To use AWS cli v2, you can use the
32+
external module [awscdk-asset-awscli](https://github.com/cdklabs/awscdk-asset-awscli/tree/awscli-v2/main).

packages/@aws-cdk/lambda-layer-kubectl/README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,10 @@ fn.addLayers(new KubectlLayer(this, 'KubectlLayer'));
2626
```
2727

2828
`kubectl` will be installed under `/opt/kubectl/kubectl`, and `helm` will be installed under `/opt/helm/helm`.
29+
30+
## Alternatives
31+
32+
This module bundles Kubectl v1.20.0 and the associated helm version
33+
To use alternative Kubectl versions, including the latest available,
34+
you can use the external module
35+
[awscdk-asset-kubectl](https://github.com/cdklabs/awscdk-asset-kubectl).

0 commit comments

Comments
 (0)