Skip to content

Commit 8d8c2de

Browse files
authored
Merge pull request #194 from mwunderl/master
Configuration for AWS CLI v2
2 parents 24bb75a + 063d700 commit 8d8c2de

File tree

17 files changed

+153
-17
lines changed

17 files changed

+153
-17
lines changed

sample-apps/blank-csharp/README.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,15 @@ Use the following instructions to deploy the sample application. For more inform
1414
- [.NET Core SDK 3.1](https://dotnet.microsoft.com/download/dotnet-core/3.1)
1515
- [AWS extensions for .NET CLI](https://github.com/aws/aws-extensions-for-dotnet-cli)
1616
- The Bash shell. For Linux and macOS, this is included by default. In Windows 10, you can install the [Windows Subsystem for Linux](https://docs.microsoft.com/en-us/windows/wsl/install-win10) to get a Windows-integrated version of Ubuntu and Bash.
17-
- [The AWS CLI v1](https://docs.aws.amazon.com/cli/latest/userguide/cli-chap-install.html).
17+
- [The AWS CLI](https://docs.aws.amazon.com/cli/latest/userguide/cli-chap-install.html) v1.17 or newer.
18+
19+
If you use the AWS CLI v2, add the following to your [configuration file](https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-files.html) (`~/.aws/config`):
20+
21+
```
22+
cli_binary_format=raw-in-base64-out
23+
```
24+
25+
This setting enables the AWS CLI v2 to load JSON events from a file, matching the v1 behavior.
1826

1927
# Setup
2028
Download or clone this repository.

sample-apps/blank-go/README.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,15 @@ Use the following instructions to deploy the sample application.
1313
# Requirements
1414
- [Go executable](https://golang.org/dl/).
1515
- The Bash shell. For Linux and macOS, this is included by default. In Windows 10, you can install the [Windows Subsystem for Linux](https://docs.microsoft.com/en-us/windows/wsl/install-win10) to get a Windows-integrated version of Ubuntu and Bash.
16-
- [The AWS CLI v1](https://docs.aws.amazon.com/cli/latest/userguide/cli-chap-install.html).
16+
- [The AWS CLI](https://docs.aws.amazon.com/cli/latest/userguide/cli-chap-install.html) v1.17 or newer.
17+
18+
If you use the AWS CLI v2, add the following to your [configuration file](https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-files.html) (`~/.aws/config`):
19+
20+
```
21+
cli_binary_format=raw-in-base64-out
22+
```
23+
24+
This setting enables the AWS CLI v2 to load JSON events from a file, matching the v1 behavior.
1725

1826
# Setup
1927
Download or clone this repository.

sample-apps/blank-java/README.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,15 @@ Use the following instructions to deploy the sample application.
1717
- [Java 8 runtime environment (SE JRE)](https://www.oracle.com/java/technologies/javase-downloads.html)
1818
- [Gradle 5](https://gradle.org/releases/) or [Maven 3](https://maven.apache.org/docs/history.html)
1919
- The Bash shell. For Linux and macOS, this is included by default. In Windows 10, you can install the [Windows Subsystem for Linux](https://docs.microsoft.com/en-us/windows/wsl/install-win10) to get a Windows-integrated version of Ubuntu and Bash.
20-
- [The AWS CLI v1](https://docs.aws.amazon.com/cli/latest/userguide/cli-chap-install.html).
20+
- [The AWS CLI](https://docs.aws.amazon.com/cli/latest/userguide/cli-chap-install.html) v1.17 or newer.
21+
22+
If you use the AWS CLI v2, add the following to your [configuration file](https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-files.html) (`~/.aws/config`):
23+
24+
```
25+
cli_binary_format=raw-in-base64-out
26+
```
27+
28+
This setting enables the AWS CLI v2 to load JSON events from a file, matching the v1 behavior.
2129

2230
# Setup
2331
Download or clone this repository.

sample-apps/blank-nodejs/README.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,15 @@ Use the following instructions to deploy the sample application. For an in-depth
2323
# Requirements
2424
- [Node.js 10 with npm](https://nodejs.org/en/download/releases/)
2525
- The Bash shell. For Linux and macOS, this is included by default. In Windows 10, you can install the [Windows Subsystem for Linux](https://docs.microsoft.com/en-us/windows/wsl/install-win10) to get a Windows-integrated version of Ubuntu and Bash.
26-
- [The AWS CLI v1](https://docs.aws.amazon.com/cli/latest/userguide/cli-chap-install.html).
26+
- [The AWS CLI](https://docs.aws.amazon.com/cli/latest/userguide/cli-chap-install.html) v1.17 or newer.
27+
28+
If you use the AWS CLI v2, add the following to your [configuration file](https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-files.html) (`~/.aws/config`):
29+
30+
```
31+
cli_binary_format=raw-in-base64-out
32+
```
33+
34+
This setting enables the AWS CLI v2 to load JSON events from a file, matching the v1 behavior.
2735

2836
# Setup
2937
Download or clone this repository.

sample-apps/blank-powershell/README.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,15 @@ Use the following instructions to deploy the sample application.
1515
- [.NET Core 3.1](https://www.microsoft.com/net/download)
1616
- [AWSLambdaPSCore module 2.0](https://www.powershellgallery.com/packages/AWSLambdaPSCore/2.0.0.0)
1717
- The Bash shell. For Linux and macOS, this is included by default. In Windows 10, you can install the [Windows Subsystem for Linux](https://docs.microsoft.com/en-us/windows/wsl/install-win10) to get a Windows-integrated version of Ubuntu and Bash.
18-
- [The AWS CLI v1](https://docs.aws.amazon.com/cli/latest/userguide/cli-chap-install.html).
18+
- [The AWS CLI](https://docs.aws.amazon.com/cli/latest/userguide/cli-chap-install.html) v1.17 or newer.
19+
20+
If you use the AWS CLI v2, add the following to your [configuration file](https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-files.html) (`~/.aws/config`):
21+
22+
```
23+
cli_binary_format=raw-in-base64-out
24+
```
25+
26+
This setting enables the AWS CLI v2 to load JSON events from a file, matching the v1 behavior.
1927

2028
# Setup
2129
Download or clone this repository.

sample-apps/blank-python/README.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,15 @@ Use the following instructions to deploy the sample application.
1313
# Requirements
1414
- [Python 3.7](https://www.python.org/downloads/)
1515
- The Bash shell. For Linux and macOS, this is included by default. In Windows 10, you can install the [Windows Subsystem for Linux](https://docs.microsoft.com/en-us/windows/wsl/install-win10) to get a Windows-integrated version of Ubuntu and Bash.
16-
- [The AWS CLI v1](https://docs.aws.amazon.com/cli/latest/userguide/cli-chap-install.html).
16+
- [The AWS CLI](https://docs.aws.amazon.com/cli/latest/userguide/cli-chap-install.html) v1.17 or newer.
17+
18+
If you use the AWS CLI v2, add the following to your [configuration file](https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-files.html) (`~/.aws/config`):
19+
20+
```
21+
cli_binary_format=raw-in-base64-out
22+
```
23+
24+
This setting enables the AWS CLI v2 to load JSON events from a file, matching the v1 behavior.
1725

1826
# Setup
1927
Download or clone this repository.

sample-apps/blank-ruby/README.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,15 @@ Use the following instructions to deploy the sample application.
1313
# Requirements
1414
- [Ruby 2.5](https://www.ruby-lang.org/en/downloads/)
1515
- The Bash shell. For Linux and macOS, this is included by default. In Windows 10, you can install the [Windows Subsystem for Linux](https://docs.microsoft.com/en-us/windows/wsl/install-win10) to get a Windows-integrated version of Ubuntu and Bash.
16-
- [The AWS CLI v1](https://docs.aws.amazon.com/cli/latest/userguide/cli-chap-install.html).
16+
- [The AWS CLI](https://docs.aws.amazon.com/cli/latest/userguide/cli-chap-install.html) v1.17 or newer.
17+
18+
If you use the AWS CLI v2, add the following to your [configuration file](https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-files.html) (`~/.aws/config`):
19+
20+
```
21+
cli_binary_format=raw-in-base64-out
22+
```
23+
24+
This setting enables the AWS CLI v2 to load JSON events from a file, matching the v1 behavior.
1725

1826
# Setup
1927
Download or clone this repository.

sample-apps/ec2-spot/README.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,15 @@ Use the following instructions to deploy the sample application. For more inform
1313
# Requirements
1414
- [.NET Core SDK 2.1](https://dotnet.microsoft.com/download/dotnet-core/2.1)
1515
- The Bash shell. For Linux and macOS, this is included by default. In Windows 10, you can install the [Windows Subsystem for Linux](https://docs.microsoft.com/en-us/windows/wsl/install-win10) to get a Windows-integrated version of Ubuntu and Bash.
16-
- [The AWS CLI v1](https://docs.aws.amazon.com/cli/latest/userguide/cli-chap-install.html).
16+
- [The AWS CLI](https://docs.aws.amazon.com/cli/latest/userguide/cli-chap-install.html) v1.17 or newer.
17+
18+
If you use the AWS CLI v2, add the following to your [configuration file](https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-files.html) (`~/.aws/config`):
19+
20+
```
21+
cli_binary_format=raw-in-base64-out
22+
```
23+
24+
This setting enables the AWS CLI v2 to load JSON events from a file, matching the v1 behavior.
1725

1826
# Setup
1927
Download or clone this repository.

sample-apps/efs-nodejs/README.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,15 @@ To deploy the sample application, you need the following tools:
3030

3131
- [Node.js 10 with npm](https://nodejs.org/en/download/releases/).
3232
- The Bash shell. For Linux and macOS, this is included by default. In Windows 10, you can install the [Windows Subsystem for Linux](https://docs.microsoft.com/en-us/windows/wsl/install-win10) to get a Windows-integrated version of Ubuntu and Bash.
33-
- [The AWS CLI v1](https://docs.aws.amazon.com/cli/latest/userguide/cli-chap-install.html).
33+
- [The AWS CLI](https://docs.aws.amazon.com/cli/latest/userguide/cli-chap-install.html) v1.17 or newer.
34+
35+
If you use the AWS CLI v2, add the following to your [configuration file](https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-files.html) (`~/.aws/config`):
36+
37+
```
38+
cli_binary_format=raw-in-base64-out
39+
```
40+
41+
This setting enables the AWS CLI v2 to load JSON events from a file, matching the v1 behavior.
3442

3543
To run the sample application in AWS, you need permission to use Lambda and the following services.
3644

sample-apps/error-processor/README.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,15 @@ Use the following instructions to deploy the sample application. For more inform
1616
# Requirements
1717
- [Node.js 10 with npm](https://nodejs.org/en/download/releases/)
1818
- The Bash shell. For Linux and macOS, this is included by default. In Windows 10, you can install the [Windows Subsystem for Linux](https://docs.microsoft.com/en-us/windows/wsl/install-win10) to get a Windows-integrated version of Ubuntu and Bash.
19-
- [The AWS CLI v1](https://docs.aws.amazon.com/cli/latest/userguide/cli-chap-install.html).
19+
- [The AWS CLI](https://docs.aws.amazon.com/cli/latest/userguide/cli-chap-install.html) v1.17 or newer.
20+
21+
If you use the AWS CLI v2, add the following to your [configuration file](https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-files.html) (`~/.aws/config`):
22+
23+
```
24+
cli_binary_format=raw-in-base64-out
25+
```
26+
27+
This setting enables the AWS CLI v2 to load JSON events from a file, matching the v1 behavior.
2028

2129
# Setup
2230
Download or clone this repository.

0 commit comments

Comments
 (0)