Skip to content

Commit c06a372

Browse files
committed
Merge branch 'master' into feaure-coverage
2 parents 76ee973 + 321254c commit c06a372

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

59 files changed

+2203
-634
lines changed

astro.config.mjs

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ export default defineConfig({
287287
collapsed: true,
288288
items: [
289289
{
290-
label: 'Welcome',
290+
label: 'Introduction',
291291
slug: 'snowflake',
292292
},
293293
{
@@ -296,9 +296,9 @@ export default defineConfig({
296296
collapsed: true,
297297
},
298298
{
299-
label: 'Services',
299+
label: 'Features',
300300
collapsed: true,
301-
autogenerate: { directory: '/snowflake/services' },
301+
autogenerate: { directory: '/snowflake/features' },
302302
},
303303
{
304304
label: 'Capabilities',
@@ -324,6 +324,10 @@ export default defineConfig({
324324
label: 'SQL Functions',
325325
slug: 'snowflake/sql-functions',
326326
},
327+
{
328+
label: 'Changelog',
329+
slug: 'snowflake/changelog',
330+
},
327331
],
328332
},
329333
],
121 KB
Loading
92.9 KB
Loading
696 KB
Loading
138 KB
Loading
446 KB
Loading
1.03 MB
Loading
378 KB
Loading

src/content/docs/snowflake/capabilities/config.md renamed to src/content/docs/snowflake/capabilities/configuration.md

Lines changed: 16 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,13 @@ nav:
66
label:
77
---
88

9-
10-
{{< preview-notice >}}
11-
129
LocalStack exposes various configuration options to control its behaviour.
1310

1411
These options can be passed to LocalStack as environment variables like so:
1512

16-
{{< command >}}
17-
$ DEBUG=1 localstack start
18-
{{< / command >}}
13+
```bash
14+
DEBUG=1 localstack start
15+
```
1916

2017
## Core
2118

@@ -39,7 +36,7 @@ These options are applicable when using the CLI to start LocalStack.
3936
| Variable | Example Values | Description |
4037
| - | - | - |
4138
| `LOCALSTACK_VOLUME_DIR` | `~/.cache/localstack/volume` (on Linux) | The location on the host of the LocalStack volume directory mount. |
42-
| `CONFIG_PROFILE` | | The configuration profile to load. See [Profiles]({{< ref "#profiles" >}}) |
39+
| `CONFIG_PROFILE` | | The configuration profile to load. See [Profiles](#profiles) |
4340
| `CONFIG_DIR` | `~/.localstack` | The path where LocalStack can find configuration profiles and other CLI-specific configuration |
4441

4542
## Docker
@@ -72,42 +69,41 @@ A configuration profile is a set of environment variables stored in a `*.env` fi
7269

7370
Here is an example of what configuration profiles might look like:
7471

75-
{{< command >}}
72+
```bash
7673
$ tree ~/.localstack
7774
/home/username/.localstack
7875
├── default.env
7976
├── dev.env
8077
└── pro.env
81-
{{< / command >}}
78+
```
8279

8380
Here is an example of what a specific environment profile looks like
8481

85-
{{< command >}}
82+
```bash
8683
$ cat ~/.localstack/pro-debug.env
8784
LOCALSTACK_AUTH_TOKEN=XXXXX
8885
SF_LOG=trace
8986
SF_S3_ENDPOINT=s3.localhost.localstack.cloud:4566
90-
{{< / command >}}
87+
```
9188

9289
You can load a profile by either setting the environment variable `CONFIG_PROFILE=<profile>` or the `--profile=<profile>` CLI flag when using the CLI.
9390
Let's take an example to load the `dev.env` profile file if it exists:
9491

95-
{{< command >}}
96-
$ IMAGE_NAME=localstack/snowflake localstack --profile=dev start
97-
{{< / command >}}
92+
```bash
93+
IMAGE_NAME=localstack/snowflake localstack --profile=dev start
94+
```
9895

9996
If no profile is specified, the `default.env` profile will be loaded.
10097
If explicitly specified, any environment variables will overwrite the configurations defined in the profile.
10198

10299
To display the config environment variables, you can use the following command:
103100

104-
{{< command >}}
105-
$ localstack --profile=dev config show
106-
{{< / command >}}
101+
```bash
102+
localstack --profile=dev config show
103+
```
107104

108-
{{< alert title="Note" >}}
105+
:::note
109106
The `CONFIG_PROFILE` is a CLI feature and cannot be used directly with a docker-compose setup.
110107
You can look at [alternative means of setting environment variables](https://docs.docker.com/compose/environment-variables/set-environment-variables/) for your Docker Compose setups.
111108
For Docker setups, we recommend passing the environment variables directly to the `docker run` command.
112-
{{< /alert >}}
113-
109+
:::

src/content/docs/snowflake/capabilities/ephemeral-instances.md

Lines changed: 0 additions & 29 deletions
This file was deleted.

0 commit comments

Comments
 (0)