Skip to content

Commit daf6eff

Browse files
Merge branch 'main' into updates
2 parents 35c08be + 9eecad9 commit daf6eff

8 files changed

Lines changed: 15 additions & 15 deletions

File tree

run-samples.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ if command -v azlocal >/dev/null 2>&1; then
117117
echo "[DEBUG] azlocal command found, attempting login..."
118118
azlocal login || true
119119
echo "[DEBUG] Starting azlocal interception..."
120-
azlocal start_interception
120+
azlocal start-interception
121121
echo "[DEBUG] Setting default subscription..."
122122
azlocal account set --subscription "00000000-0000-0000-0000-000000000000" || true
123123
echo "[DEBUG] Checking azlocal account status..."

samples/function-app-front-door/python/scripts/cleanup_all.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ INTERCEPTION_STARTED="false"
6060
AZURE_CONFIG_DIR_CREATED="false"
6161
finish() {
6262
if [[ "$INTERCEPTION_STARTED" == "true" ]] && command -v azlocal >/dev/null 2>&1; then
63-
set +e; azlocal stop_interception >/dev/null 2>&1 || true; set -e
63+
set +e; azlocal stop-interception >/dev/null 2>&1 || true; set -e
6464
fi
6565
if [[ "$AZURE_CONFIG_DIR_CREATED" == "true" && -n "${AZURE_CONFIG_DIR:-}" && -d "$AZURE_CONFIG_DIR" ]]; then
6666
rm -rf "$AZURE_CONFIG_DIR"
@@ -76,7 +76,7 @@ if [[ "$USE_LOCALSTACK" == "true" ]]; then
7676
echo "Error: --use-localstack specified but 'azlocal' was not found in PATH." >&2
7777
exit 1
7878
fi
79-
if azlocal start_interception; then
79+
if azlocal start-interception; then
8080
INTERCEPTION_STARTED="true"; echo "LocalStack interception started."
8181
else
8282
echo "Error: azlocal failed to start interception. Ensure LocalStack is running and azlocal is configured correctly." >&2

samples/function-app-front-door/python/scripts/deploy_all.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ finish() {
155155
[[ -f "$ZIP_A" ]] && rm -f "$ZIP_A"
156156
[[ -f "$ZIP_B" ]] && rm -f "$ZIP_B"
157157
if [[ "$INTERCEPTION_STARTED" == "true" ]] && command -v azlocal >/dev/null 2>&1; then
158-
azlocal stop_interception >/dev/null 2>&1 || true
158+
azlocal stop-interception >/dev/null 2>&1 || true
159159
fi
160160
if [[ "$AZURE_CONFIG_DIR_CREATED" == "true" && -n "${AZURE_CONFIG_DIR:-}" && -d "$AZURE_CONFIG_DIR" ]]; then
161161
rm -rf "$AZURE_CONFIG_DIR"
@@ -176,7 +176,7 @@ if [[ "$USE_LOCALSTACK" == "true" ]]; then
176176
echo "Error: --use-localstack specified but 'azlocal' not found in PATH." >&2
177177
exit 1
178178
fi
179-
if azlocal start_interception; then
179+
if azlocal start-interception; then
180180
INTERCEPTION_STARTED="true"; echo "LocalStack interception started."
181181
else
182182
echo "Error: azlocal failed to start interception. Ensure LocalStack is running." >&2

samples/function-app-managed-identity/python/bicep/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ param runtimeVersion = '3.13'
5555
The [deploy.sh](deploy.sh) script automates the deployment of all Azure resources and the sample application in a single step. Before running the script, customize the variable values based on your needs. In particular, use the `MANAGED_IDENTITY_TYPE` variable to specify the type of managed identity to provision: `SystemAssigned` or `UserAssigned`.
5656

5757
> **Note**
58-
> You can use the `azlocal` CLI as a drop-in replacement for the `az` CLI to direct all commands to the LocalStack for Azure emulator. Alternatively, run `azlocal start_interception` to automatically intercept and redirect all `az` commands to LocalStack. For more information, see [Get started with the az tool on LocalStack](https://azure.localstack.cloud/user-guides/sdks/az/).
58+
> You can use the `azlocal` CLI as a drop-in replacement for the `az` CLI to direct all commands to the LocalStack for Azure emulator. Alternatively, run `azlocal start-interception` to automatically intercept and redirect all `az` commands to LocalStack. For more information, see [Get started with the az tool on LocalStack](https://azure.localstack.cloud/user-guides/sdks/az/).
5959
6060
The [deploy.sh](deploy.sh) script executes the following steps:
6161

@@ -171,4 +171,4 @@ This will remove all Azure resources created by the CLI deployment script.
171171

172172
- [Azure Bicep Documentation](https://docs.microsoft.com/en-us/azure/azure-resource-manager/bicep/)
173173
- [Bicep Language Reference](https://docs.microsoft.com/en-us/azure/azure-resource-manager/bicep/bicep-functions)
174-
- [LocalStack for Azure Documentation](https://azure.localstack.cloud/)
174+
- [LocalStack for Azure Documentation](https://azure.localstack.cloud/)

samples/function-app-managed-identity/python/scripts/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ This sample provides two Bash scripts to streamline the deployment process by au
4646
These scripts eliminate manual configuration steps and enable one-command deployment of the entire infrastructure.
4747

4848
> [!NOTE]
49-
> You can use the `azlocal` CLI as a drop-in replacement for the `az` CLI to direct all commands to the LocalStack for Azure emulator. Alternatively, run `azlocal start_interception` to automatically intercept and redirect all `az` commands to LocalStack. To revert back to the default behavior and send commands to the Azure cloud, run `azlocal stop_interception`.
49+
> You can use the `azlocal` CLI as a drop-in replacement for the `az` CLI to direct all commands to the LocalStack for Azure emulator. Alternatively, run `azlocal start-interception` to automatically intercept and redirect all `az` commands to LocalStack. To revert back to the default behavior and send commands to the Azure cloud, run `azlocal stop-interception`.
5050
5151

5252
## Deployment
@@ -147,4 +147,4 @@ This will remove all Azure resources created by the CLI deployment script.
147147
## Related Documentation
148148

149149
- [Azure CLI Documentation](https://docs.microsoft.com/en-us/cli/azure/)
150-
- [LocalStack for Azure Documentation](https://azure.localstack.cloud/)
150+
- [LocalStack for Azure Documentation](https://azure.localstack.cloud/)

samples/function-app-managed-identity/python/terraform/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ For more information on the sample application, see [Azure Functions App with Ma
4242
The [deploy.sh](deploy.sh) script automates the deployment of all Azure resources and the sample application in a single step. Before running the script, customize the variable values based on your needs. In particular, use the `MANAGED_IDENTITY_TYPE` variable to specify the type of managed identity to provision: `SystemAssigned` or `UserAssigned`.
4343

4444
> **Note**
45-
> You can use the `azlocal` CLI as a drop-in replacement for the `az` CLI to direct all commands to the LocalStack for Azure emulator. Alternatively, run `azlocal start_interception` to automatically intercept and redirect all `az` commands to LocalStack. Likewise, the `tflocal` is a local replacement for the standard `terraform` CLI, allowing you to run Terraform commands against LocalStack's Azure emulation environment. For more information, see [Get started with the az tool on LocalStack](https://azure.localstack.cloud/user-guides/sdks/az/).
45+
> You can use the `azlocal` CLI as a drop-in replacement for the `az` CLI to direct all commands to the LocalStack for Azure emulator. Alternatively, run `azlocal start-interception` to automatically intercept and redirect all `az` commands to LocalStack. Likewise, the `tflocal` is a local replacement for the standard `terraform` CLI, allowing you to run Terraform commands against LocalStack's Azure emulation environment. For more information, see [Get started with the az tool on LocalStack](https://azure.localstack.cloud/user-guides/sdks/az/).
4646
4747
The [deploy.sh](deploy.sh) script executes the following steps:
4848

@@ -175,4 +175,4 @@ This will remove all Azure resources created by the CLI deployment script.
175175
## Related Documentation
176176

177177
- [Terraform Azure Provider](https://registry.terraform.io/providers/hashicorp/azurerm/latest)
178-
- [LocalStack for Azure Documentation](https://azure.localstack.cloud/)
178+
- [LocalStack for Azure Documentation](https://azure.localstack.cloud/)

samples/function-app-storage-http/dotnet/scripts/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ The script configures the following application settings for the gaming system:
116116

117117
### LocalStack-Specific Commands
118118

119-
1. `azlocal start_interception`:
119+
1. `azlocal start-interception`:
120120
- Redirects Azure CLI calls to LocalStack endpoints
121121
- Enables local development without Azure subscription
122122
- Maintains compatibility with standard Azure CLI syntax
@@ -126,7 +126,7 @@ The script configures the following application settings for the gaming system:
126126
- Wraps the Azure Functions Core Tools
127127
- Provides local testing environment for Azure Functions
128128

129-
3. `azlocal stop_interception`:
129+
3. `azlocal stop-interception`:
130130
- Restores normal Azure CLI behavior
131131
- Cleans up LocalStack session state
132132
- Returns CLI to standard Azure cloud operations

samples/web-app-managed-identity/python/scripts/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ See the script files for complete implementation. The scripts perform the follow
6666
These scripts eliminate manual configuration steps and enable one-command deployment of the entire infrastructure.
6767

6868
> [!NOTE]
69-
> You can use the `azlocal` CLI as a drop-in replacement for the `az` CLI to direct all commands to the LocalStack for Azure emulator. Alternatively, run `azlocal start_interception` to automatically intercept and redirect all `az` commands to LocalStack. To revert back to the default behavior and send commands to the Azure cloud, run `azlocal stop_interception`.
69+
> You can use the `azlocal` CLI as a drop-in replacement for the `az` CLI to direct all commands to the LocalStack for Azure emulator. Alternatively, run `azlocal start-interception` to automatically intercept and redirect all `az` commands to LocalStack. To revert back to the default behavior and send commands to the Azure cloud, run `azlocal stop-interception`.
7070
7171
## Deployment
7272

@@ -166,4 +166,4 @@ This will remove all Azure resources created by the CLI deployment script.
166166
## Related Documentation
167167

168168
- [Azure CLI Documentation](https://docs.microsoft.com/en-us/cli/azure/)
169-
- [LocalStack for Azure Documentation](https://azure.localstack.cloud/)
169+
- [LocalStack for Azure Documentation](https://azure.localstack.cloud/)

0 commit comments

Comments
 (0)