Skip to content
30 changes: 30 additions & 0 deletions samples/web-app-sql-database/dotnet/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,36 @@ Set up the Azure emulator using the LocalStack for Azure Docker image. Before st
docker pull localstack/localstack-azure
```

> [!NOTE]
> Each logical server you create runs a Microsoft SQL Server container, so you must accept the [SQL Server End-User Licensing Agreement](https://go.microsoft.com/fwlink/?LinkId=746388) before the emulator provisions one.
> Start the emulator with `MSSQL_ACCEPT_EULA` set to `Y`:
>
> ```bash
> LOCALSTACK_MSSQL_ACCEPT_EULA=Y lstk start --type azure
> ```
>
> Host variables prefixed with `LOCALSTACK_` are forwarded to the emulator, so the container receives `MSSQL_ACCEPT_EULA=Y`.
>
> To accept it once rather than on every start, add it to an environment profile in your `lstk` config:
>
> ```toml
> [[containers]]
> type = "azure"
> tag = "latest"
> port = "4566"
> env = ["mssql"]
>
> [env.mssql]
> MSSQL_ACCEPT_EULA = "Y"
> ```
>
> A profile's values are injected into the container directly, so the `LOCALSTACK_` prefix is not used here.
> `lstk` reads the first `config.toml` it finds, starting with `./.lstk/config.toml` in the current directory and then `$HOME/.config/lstk/config.toml`.
> See [Config file search order](/azure/developer-tools/running-localstack/lstk/configuration/#config-file-search-order) for the full list and [Passing environment variables to the container](/azure/developer-tools/running-localstack/lstk/configuration/#passing-environment-variables-to-the-container) for how profiles work.
>
> If you start the emulator with the `docker` CLI or Docker Compose, set `MSSQL_ACCEPT_EULA=Y` directly in the container environment instead.
> Without it, `az sql server create` fails with `(EulaNotAccepted)`.

Start the LocalStack Azure emulator by running:

```bash
Expand Down
30 changes: 30 additions & 0 deletions samples/web-app-sql-database/dotnet/bicep/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,36 @@ You can set up the Azure emulator by utilizing LocalStack for Azure Docker image
docker pull localstack/localstack-azure
```

> [!NOTE]
> Each logical server you create runs a Microsoft SQL Server container, so you must accept the [SQL Server End-User Licensing Agreement](https://go.microsoft.com/fwlink/?LinkId=746388) before the emulator provisions one.
> Start the emulator with `MSSQL_ACCEPT_EULA` set to `Y`:
>
> ```bash
> LOCALSTACK_MSSQL_ACCEPT_EULA=Y lstk start
> ```
>
> Host variables prefixed with `LOCALSTACK_` are forwarded to the emulator, so the container receives `MSSQL_ACCEPT_EULA=Y`.
>
> To accept it once rather than on every start, add it to an environment profile in your `lstk` config:
>
> ```toml
> [[containers]]
> type = "azure"
> tag = "latest"
> port = "4566"
> env = ["mssql"]
>
> [env.mssql]
> MSSQL_ACCEPT_EULA = "Y"
> ```
>
> A profile's values are injected into the container directly, so the `LOCALSTACK_` prefix is not used here.
> `lstk` reads the first `config.toml` it finds, starting with `./.lstk/config.toml` in the current directory and then `$HOME/.config/lstk/config.toml`.
> See [Config file search order](/azure/developer-tools/running-localstack/lstk/configuration/#config-file-search-order) for the full list and [Passing environment variables to the container](/azure/developer-tools/running-localstack/lstk/configuration/#passing-environment-variables-to-the-container) for how profiles work.
>
> If you start the emulator with the `docker` CLI or Docker Compose, set `MSSQL_ACCEPT_EULA=Y` directly in the container environment instead.
> Without it, `az sql server create` fails with `(EulaNotAccepted)`.

Start the LocalStack Azure emulator with the lstk CLI:

```bash
Expand Down
30 changes: 30 additions & 0 deletions samples/web-app-sql-database/dotnet/scripts/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,36 @@ You can set up the Azure emulator by utilizing LocalStack for Azure Docker image
docker pull localstack/localstack-azure
```

> [!NOTE]
> Each logical server you create runs a Microsoft SQL Server container, so you must accept the [SQL Server End-User Licensing Agreement](https://go.microsoft.com/fwlink/?LinkId=746388) before the emulator provisions one.
> Start the emulator with `MSSQL_ACCEPT_EULA` set to `Y`:
>
> ```bash
> LOCALSTACK_MSSQL_ACCEPT_EULA=Y lstk start --type azure
> ```
>
> Host variables prefixed with `LOCALSTACK_` are forwarded to the emulator, so the container receives `MSSQL_ACCEPT_EULA=Y`.
>
> To accept it once rather than on every start, add it to an environment profile in your `lstk` config:
>
> ```toml
> [[containers]]
> type = "azure"
> tag = "latest"
> port = "4566"
> env = ["mssql"]
>
> [env.mssql]
> MSSQL_ACCEPT_EULA = "Y"
> ```
>
> A profile's values are injected into the container directly, so the `LOCALSTACK_` prefix is not used here.
> `lstk` reads the first `config.toml` it finds, starting with `./.lstk/config.toml` in the current directory and then `$HOME/.config/lstk/config.toml`.
> See [Config file search order](/azure/developer-tools/running-localstack/lstk/configuration/#config-file-search-order) for the full list and [Passing environment variables to the container](/azure/developer-tools/running-localstack/lstk/configuration/#passing-environment-variables-to-the-container) for how profiles work.
>
> If you start the emulator with the `docker` CLI or Docker Compose, set `MSSQL_ACCEPT_EULA=Y` directly in the container environment instead.
> Without it, `az sql server create` fails with `(EulaNotAccepted)`.

Start the LocalStack Azure emulator with the lstk CLI:

```bash
Expand Down
30 changes: 30 additions & 0 deletions samples/web-app-sql-database/dotnet/terraform/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,36 @@ You can set up the Azure emulator by utilizing LocalStack for Azure Docker image
docker pull localstack/localstack-azure
```

> [!NOTE]
> Each logical server you create runs a Microsoft SQL Server container, so you must accept the [SQL Server End-User Licensing Agreement](https://go.microsoft.com/fwlink/?LinkId=746388) before the emulator provisions one.
> Start the emulator with `MSSQL_ACCEPT_EULA` set to `Y`:
>
> ```bash
> LOCALSTACK_MSSQL_ACCEPT_EULA=Y lstk start --type azure
> ```
>
> Host variables prefixed with `LOCALSTACK_` are forwarded to the emulator, so the container receives `MSSQL_ACCEPT_EULA=Y`.
>
> To accept it once rather than on every start, add it to an environment profile in your `lstk` config:
>
> ```toml
> [[containers]]
> type = "azure"
> tag = "latest"
> port = "4566"
> env = ["mssql"]
>
> [env.mssql]
> MSSQL_ACCEPT_EULA = "Y"
> ```
>
> A profile's values are injected into the container directly, so the `LOCALSTACK_` prefix is not used here.
> `lstk` reads the first `config.toml` it finds, starting with `./.lstk/config.toml` in the current directory and then `$HOME/.config/lstk/config.toml`.
> See [Config file search order](/azure/developer-tools/running-localstack/lstk/configuration/#config-file-search-order) for the full list and [Passing environment variables to the container](/azure/developer-tools/running-localstack/lstk/configuration/#passing-environment-variables-to-the-container) for how profiles work.
>
> If you start the emulator with the `docker` CLI or Docker Compose, set `MSSQL_ACCEPT_EULA=Y` directly in the container environment instead.
> Without it, `az sql server create` fails with `(EulaNotAccepted)`.

Start the LocalStack Azure emulator with the lstk CLI:

```bash
Expand Down
30 changes: 30 additions & 0 deletions samples/web-app-sql-database/python/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,36 @@ Set up the Azure emulator using the LocalStack for Azure Docker image. Before st
docker pull localstack/localstack-azure
```

> [!NOTE]
> Each logical server you create runs a Microsoft SQL Server container, so you must accept the [SQL Server End-User Licensing Agreement](https://go.microsoft.com/fwlink/?LinkId=746388) before the emulator provisions one.
> Start the emulator with `MSSQL_ACCEPT_EULA` set to `Y`:
>
> ```bash
> LOCALSTACK_MSSQL_ACCEPT_EULA=Y lstk start --type azure
> ```
>
> Host variables prefixed with `LOCALSTACK_` are forwarded to the emulator, so the container receives `MSSQL_ACCEPT_EULA=Y`.
>
> To accept it once rather than on every start, add it to an environment profile in your `lstk` config:
>
> ```toml
> [[containers]]
> type = "azure"
> tag = "latest"
> port = "4566"
> env = ["mssql"]
>
> [env.mssql]
> MSSQL_ACCEPT_EULA = "Y"
> ```
>
> A profile's values are injected into the container directly, so the `LOCALSTACK_` prefix is not used here.
> `lstk` reads the first `config.toml` it finds, starting with `./.lstk/config.toml` in the current directory and then `$HOME/.config/lstk/config.toml`.
> See [Config file search order](/azure/developer-tools/running-localstack/lstk/configuration/#config-file-search-order) for the full list and [Passing environment variables to the container](/azure/developer-tools/running-localstack/lstk/configuration/#passing-environment-variables-to-the-container) for how profiles work.
>
> If you start the emulator with the `docker` CLI or Docker Compose, set `MSSQL_ACCEPT_EULA=Y` directly in the container environment instead.
> Without it, `az sql server create` fails with `(EulaNotAccepted)`.

Start the LocalStack Azure emulator by running:

```bash
Expand Down
30 changes: 30 additions & 0 deletions samples/web-app-sql-database/python/bicep/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,36 @@ You can set up the Azure emulator by utilizing LocalStack for Azure Docker image
docker pull localstack/localstack-azure
```

> [!NOTE]
> Each logical server you create runs a Microsoft SQL Server container, so you must accept the [SQL Server End-User Licensing Agreement](https://go.microsoft.com/fwlink/?LinkId=746388) before the emulator provisions one.
> Start the emulator with `MSSQL_ACCEPT_EULA` set to `Y`:
>
> ```bash
> LOCALSTACK_MSSQL_ACCEPT_EULA=Y lstk start --type azure
> ```
>
> Host variables prefixed with `LOCALSTACK_` are forwarded to the emulator, so the container receives `MSSQL_ACCEPT_EULA=Y`.
>
> To accept it once rather than on every start, add it to an environment profile in your `lstk` config:
>
> ```toml
> [[containers]]
> type = "azure"
> tag = "latest"
> port = "4566"
> env = ["mssql"]
>
> [env.mssql]
> MSSQL_ACCEPT_EULA = "Y"
> ```
>
> A profile's values are injected into the container directly, so the `LOCALSTACK_` prefix is not used here.
> `lstk` reads the first `config.toml` it finds, starting with `./.lstk/config.toml` in the current directory and then `$HOME/.config/lstk/config.toml`.
> See [Config file search order](/azure/developer-tools/running-localstack/lstk/configuration/#config-file-search-order) for the full list and [Passing environment variables to the container](/azure/developer-tools/running-localstack/lstk/configuration/#passing-environment-variables-to-the-container) for how profiles work.
>
> If you start the emulator with the `docker` CLI or Docker Compose, set `MSSQL_ACCEPT_EULA=Y` directly in the container environment instead.
> Without it, `az sql server create` fails with `(EulaNotAccepted)`.

Start the LocalStack Azure emulator with the lstk CLI:

```bash
Expand Down
30 changes: 30 additions & 0 deletions samples/web-app-sql-database/python/scripts/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,36 @@ You can set up the Azure emulator by utilizing LocalStack for Azure Docker image
docker pull localstack/localstack-azure
```

> [!NOTE]
> Each logical server you create runs a Microsoft SQL Server container, so you must accept the [SQL Server End-User Licensing Agreement](https://go.microsoft.com/fwlink/?LinkId=746388) before the emulator provisions one.
> Start the emulator with `MSSQL_ACCEPT_EULA` set to `Y`:
>
> ```bash
> LOCALSTACK_MSSQL_ACCEPT_EULA=Y lstk start --type azure
> ```
>
> Host variables prefixed with `LOCALSTACK_` are forwarded to the emulator, so the container receives `MSSQL_ACCEPT_EULA=Y`.
>
> To accept it once rather than on every start, add it to an environment profile in your `lstk` config:
>
> ```toml
> [[containers]]
> type = "azure"
> tag = "latest"
> port = "4566"
> env = ["mssql"]
>
> [env.mssql]
> MSSQL_ACCEPT_EULA = "Y"
> ```
>
> A profile's values are injected into the container directly, so the `LOCALSTACK_` prefix is not used here.
> `lstk` reads the first `config.toml` it finds, starting with `./.lstk/config.toml` in the current directory and then `$HOME/.config/lstk/config.toml`.
> See [Config file search order](/azure/developer-tools/running-localstack/lstk/configuration/#config-file-search-order) for the full list and [Passing environment variables to the container](/azure/developer-tools/running-localstack/lstk/configuration/#passing-environment-variables-to-the-container) for how profiles work.
>
> If you start the emulator with the `docker` CLI or Docker Compose, set `MSSQL_ACCEPT_EULA=Y` directly in the container environment instead.
> Without it, `az sql server create` fails with `(EulaNotAccepted)`.

Start the LocalStack Azure emulator with the lstk CLI:

```bash
Expand Down
30 changes: 30 additions & 0 deletions samples/web-app-sql-database/python/terraform/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,36 @@ You can set up the Azure emulator by utilizing LocalStack for Azure Docker image
docker pull localstack/localstack-azure
```

> [!NOTE]
> Each logical server you create runs a Microsoft SQL Server container, so you must accept the [SQL Server End-User Licensing Agreement](https://go.microsoft.com/fwlink/?LinkId=746388) before the emulator provisions one.
> Start the emulator with `MSSQL_ACCEPT_EULA` set to `Y`:
>
> ```bash
> LOCALSTACK_MSSQL_ACCEPT_EULA=Y lstk start --type azure
> ```
>
> Host variables prefixed with `LOCALSTACK_` are forwarded to the emulator, so the container receives `MSSQL_ACCEPT_EULA=Y`.
>
> To accept it once rather than on every start, add it to an environment profile in your `lstk` config:
>
> ```toml
> [[containers]]
> type = "azure"
> tag = "latest"
> port = "4566"
> env = ["mssql"]
>
> [env.mssql]
> MSSQL_ACCEPT_EULA = "Y"
> ```
>
> A profile's values are injected into the container directly, so the `LOCALSTACK_` prefix is not used here.
> `lstk` reads the first `config.toml` it finds, starting with `./.lstk/config.toml` in the current directory and then `$HOME/.config/lstk/config.toml`.
> See [Config file search order](/azure/developer-tools/running-localstack/lstk/configuration/#config-file-search-order) for the full list and [Passing environment variables to the container](/azure/developer-tools/running-localstack/lstk/configuration/#passing-environment-variables-to-the-container) for how profiles work.
>
> If you start the emulator with the `docker` CLI or Docker Compose, set `MSSQL_ACCEPT_EULA=Y` directly in the container environment instead.
> Without it, `az sql server create` fails with `(EulaNotAccepted)`.

Start the LocalStack Azure emulator with the lstk CLI:

```bash
Expand Down
Loading