Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit1a0f54c

Browse files
committed
update README with limitations for use with AWS CLI v2
1 parent9c76658 commit1a0f54c

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

‎README.md‎

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Note that the command above also installs the latest version of the underlying A
1818
pip install awscli-local
1919
```
2020

21-
**Note:** Automatic installation of AWS CLI version 2 is currently not supported yet (at the time of writing there is no official pypi package for`v2` available), but the`awslocal`command shouldtechnically alsowork with AWS CLI v2.
21+
**Note:** Automatic installation of AWS CLI version 2 is currently not supported yet (at the time of writing there is no official pypi package for`v2` available), but the`awslocal` technically alsoworks with AWS CLI v2 (see[this section](#Limitations) for more details).
2222

2323
##Usage
2424

@@ -49,6 +49,18 @@ localstack is bound to another interface (i.e. docker-machine).
4949
with`USE_SSL=true` enabled). Defaults to`false`.
5050
*`DEFAULT_REGION`: Set the default region. Overrides`AWS_DEFAULT_REGION` environment variable.
5151

52+
##Limitations
53+
54+
* Please note that there is a known limitation for using the`cloudformation package ...` command with the AWS CLI v2. The problem is that the AWS CLI v2 is[not available as a package on pypi.org](https://github.com/aws/aws-cli/issues/4947), but is instead shipped as a binary package that cannot be easily patched from`awslocal`. To work around this issue, you have 2 options:
55+
56+
- Downgrade to the v1 AWS CLI (this is the recommended approach)
57+
- There is an inofficial way to install AWS CLI v2 from sources. We do not recommend this, but it is technically possible. Also, you should install these libraries in a Python virtualenv, to avoid version clashes with other libraries on your system:
58+
```
59+
virtualenv .venv
60+
. .venv/bin/activate
61+
pip install --user https://github.com/boto/botocore/archive/v2.zip https://github.com/aws/aws-cli/archive/v2.zip
62+
```
63+
5264
##Change Log
5365

5466
* v0.13: Fix extra requires for newer pip versions

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp