@localstack/lstk_darwin_amd64 0.17.1 → 0.18.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +12 -0
- package/lstk +0 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -97,6 +97,14 @@ type = "azure" # or "snowflake"
|
|
|
97
97
|
port = "4566"
|
|
98
98
|
```
|
|
99
99
|
|
|
100
|
+
For CI or other non-interactive use, pass `--type` (shorthand `-t`) to select the emulator without editing config. It records the selection in your config file — creating it on first run, or switching the `type` in place when it differs — so later commands (`stop`, `status`, `logs`, `volume`, …) resolve the same emulator:
|
|
101
|
+
|
|
102
|
+
```bash
|
|
103
|
+
LOCALSTACK_AUTH_TOKEN=<token> lstk start --type azure --non-interactive
|
|
104
|
+
```
|
|
105
|
+
|
|
106
|
+
Switching an existing config keeps the other block fields; a custom `image` blocks the switch (it pins a specific product — use a separate `--config` file instead).
|
|
107
|
+
|
|
100
108
|
The chosen emulator must be running before you set up or use its CLI integration below.
|
|
101
109
|
|
|
102
110
|
> [!NOTE]
|
|
@@ -246,6 +254,7 @@ lstk --non-interactive
|
|
|
246
254
|
|---|---|
|
|
247
255
|
| `LOCALSTACK_AUTH_TOKEN` | Auth token used for non-interactive runs or to skip browser login |
|
|
248
256
|
| `LOCALSTACK_DISABLE_EVENTS=1` | Disables telemetry event reporting |
|
|
257
|
+
| `LSTK_STARTUP_TIMEOUT` | How long `lstk start` waits for the emulator to become healthy before acting (Go duration, e.g. `90s`, `5m`). Defaults: 20s interactively (shows a keep-waiting/stop prompt; "keep waiting" re-arms the deadline), 60s non-interactively (fails with the last container logs, leaving the emulator running for inspection). |
|
|
249
258
|
| `LSTK_OTEL=1` | Enables OpenTelemetry trace export (disabled by default). When enabled, standard `OTEL_EXPORTER_OTLP_*` env vars are respected by the SDK (e.g. `OTEL_EXPORTER_OTLP_ENDPOINT` defaults to `http://localhost:4318`). Requires an OTLP-compatible backend to receive and visualize telemetry — for local development, `make otel` starts one (UI at http://localhost:16686). |
|
|
250
259
|
| `DOCKER_HOST` | Override the Docker daemon socket (e.g. `unix:///home/user/.colima/default/docker.sock`). When unset, lstk tries the default socket and then probes common alternatives (Colima, OrbStack). |
|
|
251
260
|
|
|
@@ -319,6 +328,9 @@ lstk
|
|
|
319
328
|
# Start non-interactively (e.g. in CI)
|
|
320
329
|
LOCALSTACK_AUTH_TOKEN=<token> lstk --non-interactive
|
|
321
330
|
|
|
331
|
+
# Select the emulator non-interactively (records it in config)
|
|
332
|
+
LOCALSTACK_AUTH_TOKEN=<token> lstk start --type snowflake --non-interactive
|
|
333
|
+
|
|
322
334
|
# Stop the running emulator
|
|
323
335
|
lstk stop
|
|
324
336
|
|
package/lstk
CHANGED
|
Binary file
|