Repository navigation
Add a note to Web App with SQL Database sample on MS EULA - #136
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
🟡 Changes recommended
The startup commands do not explicitly select Azure, and the new documentation links resolve incorrectly from GitHub.
8 open findings
Select Azure explicitly in the one-off command · New Select Azure explicitly in the one-off command · New Select Azure explicitly in the one-off command · New Select Azure explicitly in the one-off command · New Select Azure explicitly in the one-off command · New Select Azure explicitly in the one-off command · New Select Azure explicitly in the one-off command · New Select Azure explicitly in the one-off command · New
What changed in this PR
Adds SQL Server EULA setup guidance throughout the Python and .NET Web App with SQL Database samples.
Changes:
- Documents one-time and persistent EULA configuration.
- Covers
lstk, Docker CLI, and Docker Compose workflows.
| File | Description |
|---|---|
python/README.md |
Adds Python sample guidance. |
python/bicep/README.md |
Adds Bicep guidance. |
python/scripts/README.md |
Adds script guidance. |
python/terraform/README.md |
Adds Terraform guidance. |
dotnet/README.md |
Adds .NET sample guidance. |
dotnet/bicep/README.md |
Adds Bicep guidance. |
dotnet/scripts/README.md |
Adds script guidance. |
dotnet/terraform/README.md |
Adds Terraform guidance. |
🧠 Review effort: Balanced
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
| > Start the emulator with `MSSQL_ACCEPT_EULA` set to `Y`: | ||
| > | ||
| > ```bash | ||
| > LOCALSTACK_MSSQL_ACCEPT_EULA=Y lstk start |
Clarify 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>
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>
Clarify the command to start the emulator with EULA acceptance. Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Updated instructions for starting the emulator with EULA acceptance. Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Clarified instructions for starting the emulator with EULA acceptance. Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Motivation
This PR fixes the issue #37 on the LocalStack for Azure Samples repository.
Fixes SMF-943
Changes
Add the following note to all the
READMEfiles of the Web App with SQL Database (Python, .NET) samples:Note
Each logical server you create runs a Microsoft SQL Server container, so you must accept the SQL Server End-User Licensing Agreement before the emulator provisions one.
Start the emulator with
MSSQL_ACCEPT_EULAset toY:Host variables prefixed with
LOCALSTACK_are forwarded to the emulator, so the container receivesMSSQL_ACCEPT_EULA=Y.To accept it once rather than on every start, add it to an environment profile in your
lstkconfig:A profile's values are injected into the container directly, so the
LOCALSTACK_prefix is not used here.lstkreads the firstconfig.tomlit finds, starting with./.lstk/config.tomlin the current directory and then$HOME/.config/lstk/config.toml.See Config file search order for the full list and Passing environment variables to the container for how profiles work.
If you start the emulator with the
dockerCLI or Docker Compose, setMSSQL_ACCEPT_EULA=Ydirectly in the container environment instead.Without it,
az sql server createfails with(EulaNotAccepted).