You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/en/docs/Integrations/aws-cli/index.md
+20-19
Original file line number
Diff line number
Diff line change
@@ -68,14 +68,14 @@ The source code can be found on GitHub: https://github.com/localstack/awscli-loc
68
68
69
69
You can install the `awslocal` command via `pip`:
70
70
71
-
```
72
-
pip install awscli-local[ver1]
73
-
```
71
+
{{< command >}}
72
+
$ pip install awscli-local[ver1]
73
+
{{< / command >}}
74
74
75
75
Note that the command above also installs the latest version of the underlying AWS CLI version 1 (`awscli`) package. Use this command if you prefer to manage your own version of `awscli` (e.g., `v1`/`v2`) and install the wrapper script only:
76
-
```
77
-
pip install awscli-local
78
-
```
76
+
{{< command >}}
77
+
$ pip install awscli-local
78
+
{{< / command >}}
79
79
80
80
{{< alert >}}
81
81
**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 also works with AWS CLI v2 (see [this section]({{< ref "#limitations" >}}) for more details).
@@ -107,11 +107,11 @@ To work around this issue, you have 2 options:
107
107
We do not recommend this, but it is technically possible.
108
108
Also, you should install these libraries in a Python virtualenv, to avoid version clashes with other libraries on your system:
Copy file name to clipboardExpand all lines: content/en/docs/Local AWS Services/apigatewayv2/index.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -23,7 +23,7 @@ functions:
23
23
24
24
Upon deployment of the Serverless project, a new API Gateway V2 endpoint will be created in LocalStack. The [`awslocal`](https://github.com/localstack/awscli-local) CLI can be used to get the list of APIs, which should contain the WebSocket endpoint, e.g., `ws://localhost:4510` in the example below:
Once things have been wired up properly, and assuming the ID of your GraphQL API is `"api123"`, you should be able to run the following GraphQL query to retrieve all items from the `"posts"` DynamoDB table:
For more details, please refer to the self-contained sample published in [this Github repository](https://github.com/localstack/localstack-pro-samples/tree/master/appsync-graphql-api).
Copy file name to clipboardExpand all lines: content/en/docs/Local AWS Services/athena/index.md
+3-2
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,8 @@ description: >
8
8
LocalStack Pro ships with built-in support for [Athena](https://aws.amazon.com/athena), Amazon's serverless data warehouse and analytics platform. Athena uses [Presto](https://prestodb.github.io/) under the covers, and your Athena instance will be automatically configured with a Hive metastore that connects seamlessly to the LocalStack S3 API. That is, you can easily connect your local S3 buckets and query data directly from S3 via the powerful Athena query API.
9
9
10
10
The following commands illustrate how to use Athena from the command line (assuming you have [`awslocal`](https://github.com/localstack/awscli-local) installed):
In order to use the Athena API, some additional dependencies have to be fetched from the network, including a Docker image of apprx. 1.5GB which includes Presto, Hive and other tools. These dependencies are automatically fetched when you start up the service, so please make sure you're on a decent internet connection when pulling the dependencies for the first time.
Copy file name to clipboardExpand all lines: content/en/docs/Local AWS Services/cloudfront/index.md
+9-8
Original file line number
Diff line number
Diff line change
@@ -9,14 +9,15 @@ description: >
9
9
LocalStack Pro supports creation of local CloudFront distributions, which allows you to transparently access your applications and file artifacts via CloudFront URLs like `https://abc123.cloudfront.net`.
10
10
11
11
For example, take the following simple example which creates an S3 bucket, puts a small text file `hello.txt` to the bucket, and then creates a CloudFront distribution which makes the file accessible via a `https://abc123.cloudfront.net/hello.txt` proxy URL (where `abc123` is a placeholder for the real distribution ID):
**Note:** In order for CloudFront to be fully functional, your local DNS setup needs to be properly configured. See the section on [configuring the local DNS server]({{< ref "#configuring-local-dns-server" >}}) for details.
0 commit comments