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
{{ message }}
Repository navigation
Commit 6fdecc1
Browse filesBrowse the repository at this point in the historyBrowse files
Add a note to Web App with SQL Database sample on MS EULA (#136)
* Add note to Web App with SQL Database sample on MS EULA
* Update README with emulator start instructions
Clarify instructions for starting the emulator with EULA acceptance.
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
* Update README with correct command for emulator start
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
* Update README with correct command for emulator start
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
* Fix formatting in README for emulator instructions
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
* Update README with correct emulator start command
Clarify the command to start the emulator with EULA acceptance.
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
* Clarify emulator start command with EULA
Updated instructions for starting the emulator with EULA acceptance.
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
* Update README with emulator start instructions
Clarified instructions for starting the emulator with EULA acceptance.
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
---------
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Copy file name to clipboardExpand all lines: samples/web-app-sql-database/dotnet/README.md
+30Lines changed: 30 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -63,6 +63,36 @@ Set up the Azure emulator using the LocalStack for Azure Docker image. Before st
63
63
docker pull localstack/localstack-azure
64
64
```
65
65
66
+
> [!NOTE]
67
+
> 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.
68
+
> Start the emulator with `MSSQL_ACCEPT_EULA` set to `Y`:
> Host variables prefixed with `LOCALSTACK_` are forwarded to the emulator, so the container receives `MSSQL_ACCEPT_EULA=Y`.
75
+
>
76
+
> To accept it once rather than on every start, add it to an environment profile in your `lstk` config:
77
+
>
78
+
>```toml
79
+
> [[containers]]
80
+
>type = "azure"
81
+
> tag = "latest"
82
+
> port = "4566"
83
+
> env = ["mssql"]
84
+
>
85
+
> [env.mssql]
86
+
> MSSQL_ACCEPT_EULA = "Y"
87
+
>```
88
+
>
89
+
> A profile's values are injected into the container directly, so the `LOCALSTACK_` prefix is not used here.
90
+
> `lstk` reads the first `config.toml` it finds, starting with `./.lstk/config.toml` in the current directory and then `$HOME/.config/lstk/config.toml`.
91
+
> 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.
92
+
>
93
+
> If you start the emulator with the `docker` CLI or Docker Compose, set `MSSQL_ACCEPT_EULA=Y` directly in the container environment instead.
94
+
> Without it, `az sql server create` fails with `(EulaNotAccepted)`.
Copy file name to clipboardExpand all lines: samples/web-app-sql-database/dotnet/bicep/README.md
+30Lines changed: 30 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -55,6 +55,36 @@ You can set up the Azure emulator by utilizing LocalStack for Azure Docker image
55
55
docker pull localstack/localstack-azure
56
56
```
57
57
58
+
> [!NOTE]
59
+
> 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.
60
+
> Start the emulator with `MSSQL_ACCEPT_EULA` set to `Y`:
61
+
>
62
+
> ```bash
63
+
> LOCALSTACK_MSSQL_ACCEPT_EULA=Y lstk start
64
+
>```
65
+
>
66
+
> Host variables prefixed with `LOCALSTACK_` are forwarded to the emulator, so the container receives `MSSQL_ACCEPT_EULA=Y`.
67
+
>
68
+
> To accept it once rather than on every start, add it to an environment profile in your `lstk` config:
69
+
>
70
+
>```toml
71
+
> [[containers]]
72
+
>type = "azure"
73
+
> tag = "latest"
74
+
> port = "4566"
75
+
> env = ["mssql"]
76
+
>
77
+
> [env.mssql]
78
+
> MSSQL_ACCEPT_EULA = "Y"
79
+
>```
80
+
>
81
+
> A profile's values are injected into the container directly, so the `LOCALSTACK_` prefix is not used here.
82
+
> `lstk` reads the first `config.toml` it finds, starting with `./.lstk/config.toml` in the current directory and then `$HOME/.config/lstk/config.toml`.
83
+
> 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.
84
+
>
85
+
> If you start the emulator with the `docker` CLI or Docker Compose, set `MSSQL_ACCEPT_EULA=Y` directly in the container environment instead.
86
+
> Without it, `az sql server create` fails with `(EulaNotAccepted)`.
87
+
58
88
Start the LocalStack Azure emulator with the lstk CLI:
Copy file name to clipboardExpand all lines: samples/web-app-sql-database/dotnet/scripts/README.md
+30Lines changed: 30 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -53,6 +53,36 @@ You can set up the Azure emulator by utilizing LocalStack for Azure Docker image
53
53
docker pull localstack/localstack-azure
54
54
```
55
55
56
+
> [!NOTE]
57
+
> 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.
58
+
> Start the emulator with `MSSQL_ACCEPT_EULA` set to `Y`:
> Host variables prefixed with `LOCALSTACK_` are forwarded to the emulator, so the container receives `MSSQL_ACCEPT_EULA=Y`.
65
+
>
66
+
> To accept it once rather than on every start, add it to an environment profile in your `lstk` config:
67
+
>
68
+
>```toml
69
+
> [[containers]]
70
+
>type = "azure"
71
+
> tag = "latest"
72
+
> port = "4566"
73
+
> env = ["mssql"]
74
+
>
75
+
> [env.mssql]
76
+
> MSSQL_ACCEPT_EULA = "Y"
77
+
>```
78
+
>
79
+
> A profile's values are injected into the container directly, so the `LOCALSTACK_` prefix is not used here.
80
+
> `lstk` reads the first `config.toml` it finds, starting with `./.lstk/config.toml` in the current directory and then `$HOME/.config/lstk/config.toml`.
81
+
> 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.
82
+
>
83
+
> If you start the emulator with the `docker` CLI or Docker Compose, set `MSSQL_ACCEPT_EULA=Y` directly in the container environment instead.
84
+
> Without it, `az sql server create` fails with `(EulaNotAccepted)`.
85
+
56
86
Start the LocalStack Azure emulator with the lstk CLI:
Copy file name to clipboardExpand all lines: samples/web-app-sql-database/dotnet/terraform/README.md
+30Lines changed: 30 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -77,6 +77,36 @@ You can set up the Azure emulator by utilizing LocalStack for Azure Docker image
77
77
docker pull localstack/localstack-azure
78
78
```
79
79
80
+
> [!NOTE]
81
+
> 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.
82
+
> Start the emulator with `MSSQL_ACCEPT_EULA` set to `Y`:
> Host variables prefixed with `LOCALSTACK_` are forwarded to the emulator, so the container receives `MSSQL_ACCEPT_EULA=Y`.
89
+
>
90
+
> To accept it once rather than on every start, add it to an environment profile in your `lstk` config:
91
+
>
92
+
>```toml
93
+
> [[containers]]
94
+
>type = "azure"
95
+
> tag = "latest"
96
+
> port = "4566"
97
+
> env = ["mssql"]
98
+
>
99
+
> [env.mssql]
100
+
> MSSQL_ACCEPT_EULA = "Y"
101
+
>```
102
+
>
103
+
> A profile's values are injected into the container directly, so the `LOCALSTACK_` prefix is not used here.
104
+
> `lstk` reads the first `config.toml` it finds, starting with `./.lstk/config.toml` in the current directory and then `$HOME/.config/lstk/config.toml`.
105
+
> 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.
106
+
>
107
+
> If you start the emulator with the `docker` CLI or Docker Compose, set `MSSQL_ACCEPT_EULA=Y` directly in the container environment instead.
108
+
> Without it, `az sql server create` fails with `(EulaNotAccepted)`.
109
+
80
110
Start the LocalStack Azure emulator with the lstk CLI:
Copy file name to clipboardExpand all lines: samples/web-app-sql-database/python/README.md
+30Lines changed: 30 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -63,6 +63,36 @@ Set up the Azure emulator using the LocalStack for Azure Docker image. Before st
63
63
docker pull localstack/localstack-azure
64
64
```
65
65
66
+
> [!NOTE]
67
+
> 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.
68
+
> Start the emulator with `MSSQL_ACCEPT_EULA` set to `Y`:
> Host variables prefixed with `LOCALSTACK_` are forwarded to the emulator, so the container receives `MSSQL_ACCEPT_EULA=Y`.
75
+
>
76
+
> To accept it once rather than on every start, add it to an environment profile in your `lstk` config:
77
+
>
78
+
>```toml
79
+
> [[containers]]
80
+
>type = "azure"
81
+
> tag = "latest"
82
+
> port = "4566"
83
+
> env = ["mssql"]
84
+
>
85
+
> [env.mssql]
86
+
> MSSQL_ACCEPT_EULA = "Y"
87
+
>```
88
+
>
89
+
> A profile's values are injected into the container directly, so the `LOCALSTACK_` prefix is not used here.
90
+
> `lstk` reads the first `config.toml` it finds, starting with `./.lstk/config.toml` in the current directory and then `$HOME/.config/lstk/config.toml`.
91
+
> 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.
92
+
>
93
+
> If you start the emulator with the `docker` CLI or Docker Compose, set `MSSQL_ACCEPT_EULA=Y` directly in the container environment instead.
94
+
> Without it, `az sql server create` fails with `(EulaNotAccepted)`.
Copy file name to clipboardExpand all lines: samples/web-app-sql-database/python/bicep/README.md
+30Lines changed: 30 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -55,6 +55,36 @@ You can set up the Azure emulator by utilizing LocalStack for Azure Docker image
55
55
docker pull localstack/localstack-azure
56
56
```
57
57
58
+
> [!NOTE]
59
+
> 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.
60
+
> Start the emulator with `MSSQL_ACCEPT_EULA` set to `Y`:
> Host variables prefixed with `LOCALSTACK_` are forwarded to the emulator, so the container receives `MSSQL_ACCEPT_EULA=Y`.
67
+
>
68
+
> To accept it once rather than on every start, add it to an environment profile in your `lstk` config:
69
+
>
70
+
>```toml
71
+
> [[containers]]
72
+
>type = "azure"
73
+
> tag = "latest"
74
+
> port = "4566"
75
+
> env = ["mssql"]
76
+
>
77
+
> [env.mssql]
78
+
> MSSQL_ACCEPT_EULA = "Y"
79
+
>```
80
+
>
81
+
> A profile's values are injected into the container directly, so the `LOCALSTACK_` prefix is not used here.
82
+
> `lstk` reads the first `config.toml` it finds, starting with `./.lstk/config.toml` in the current directory and then `$HOME/.config/lstk/config.toml`.
83
+
> 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.
84
+
>
85
+
> If you start the emulator with the `docker` CLI or Docker Compose, set `MSSQL_ACCEPT_EULA=Y` directly in the container environment instead.
86
+
> Without it, `az sql server create` fails with `(EulaNotAccepted)`.
87
+
58
88
Start the LocalStack Azure emulator with the lstk CLI:
Copy file name to clipboardExpand all lines: samples/web-app-sql-database/python/scripts/README.md
+30Lines changed: 30 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -53,6 +53,36 @@ You can set up the Azure emulator by utilizing LocalStack for Azure Docker image
53
53
docker pull localstack/localstack-azure
54
54
```
55
55
56
+
> [!NOTE]
57
+
> 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.
58
+
> Start the emulator with `MSSQL_ACCEPT_EULA` set to `Y`:
> Host variables prefixed with `LOCALSTACK_` are forwarded to the emulator, so the container receives `MSSQL_ACCEPT_EULA=Y`.
65
+
>
66
+
> To accept it once rather than on every start, add it to an environment profile in your `lstk` config:
67
+
>
68
+
>```toml
69
+
> [[containers]]
70
+
>type = "azure"
71
+
> tag = "latest"
72
+
> port = "4566"
73
+
> env = ["mssql"]
74
+
>
75
+
> [env.mssql]
76
+
> MSSQL_ACCEPT_EULA = "Y"
77
+
>```
78
+
>
79
+
> A profile's values are injected into the container directly, so the `LOCALSTACK_` prefix is not used here.
80
+
> `lstk` reads the first `config.toml` it finds, starting with `./.lstk/config.toml` in the current directory and then `$HOME/.config/lstk/config.toml`.
81
+
> 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.
82
+
>
83
+
> If you start the emulator with the `docker` CLI or Docker Compose, set `MSSQL_ACCEPT_EULA=Y` directly in the container environment instead.
84
+
> Without it, `az sql server create` fails with `(EulaNotAccepted)`.
85
+
56
86
Start the LocalStack Azure emulator with the lstk CLI:
Copy file name to clipboardExpand all lines: samples/web-app-sql-database/python/terraform/README.md
+30Lines changed: 30 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -77,6 +77,36 @@ You can set up the Azure emulator by utilizing LocalStack for Azure Docker image
77
77
docker pull localstack/localstack-azure
78
78
```
79
79
80
+
> [!NOTE]
81
+
> 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.
82
+
> Start the emulator with `MSSQL_ACCEPT_EULA` set to `Y`:
> Host variables prefixed with `LOCALSTACK_` are forwarded to the emulator, so the container receives `MSSQL_ACCEPT_EULA=Y`.
89
+
>
90
+
> To accept it once rather than on every start, add it to an environment profile in your `lstk` config:
91
+
>
92
+
>```toml
93
+
> [[containers]]
94
+
>type = "azure"
95
+
> tag = "latest"
96
+
> port = "4566"
97
+
> env = ["mssql"]
98
+
>
99
+
> [env.mssql]
100
+
> MSSQL_ACCEPT_EULA = "Y"
101
+
>```
102
+
>
103
+
> A profile's values are injected into the container directly, so the `LOCALSTACK_` prefix is not used here.
104
+
> `lstk` reads the first `config.toml` it finds, starting with `./.lstk/config.toml` in the current directory and then `$HOME/.config/lstk/config.toml`.
105
+
> 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.
106
+
>
107
+
> If you start the emulator with the `docker` CLI or Docker Compose, set `MSSQL_ACCEPT_EULA=Y` directly in the container environment instead.
108
+
> Without it, `az sql server create` fails with `(EulaNotAccepted)`.
109
+
80
110
Start the LocalStack Azure emulator with the lstk CLI:
0 commit comments