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: README.md
+9Lines changed: 9 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -66,6 +66,15 @@ sqs = boto3.client('sqs')
66
66
assert sqs.list_queues() isnotNone# list SQS in localstack
67
67
```
68
68
69
+
## Configurations
70
+
71
+
You can use the following environment variables for configuration:
72
+
73
+
*`LOCALSTACK_HOST`: Set the hostname for the LocalStack instance. Useful when you have
74
+
LocalStack bound to a different host (e.g., within docker-compose).
75
+
*`EDGE_PORT`: Port number to use when connecting to LocalStack services. Defaults to `4566`.
76
+
*`USE_SSL`: Whether to use `https` endpoint URLs. Defaults to `false`.
77
+
69
78
### Enabling Transparent Local Endpoints
70
79
71
80
The library contains a small `enable_local_endpoints()` util function that can be used to transparently run all `boto3` requests against the local endpoints.
0 commit comments