Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion docs/LOCALSTACK.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,15 @@ You can start the Azure emulator using one of the following methods:
Make sure the `localstack` CLI is installed (`pip install localstack` or `brew install localstack/tap/localstack`).

```bash
# Set the authentication token
export LOCALSTACK_AUTH_TOKEN=<your_auth_token>
IMAGE_NAME=localstack/localstack-azure-alpha localstack start

# Start the LocalStack Azure emulator
IMAGE_NAME=localstack/localstack-azure-alpha localstack start -d
localstack wait -t 60

# Route all Azure CLI calls to the LocalStack Azure emulator
azlocal start-interception
```

This:
Expand Down
7 changes: 3 additions & 4 deletions samples/aci-blob-storage/python/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,12 @@ The following diagram illustrates the architecture of the solution:
## Quick Start

```bash
# Start LocalStack Azure
# Start the LocalStack Azure emulator
IMAGE_NAME=localstack/localstack-azure-alpha localstack start -d
localstack wait -t 60

# Login
azlocal login
azlocal start_interception
# Route all Azure CLI calls to the LocalStack Azure emulator
azlocal start-interception

# Deploy all services
cd python
Expand Down
18 changes: 16 additions & 2 deletions samples/function-app-front-door/python/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,12 +62,26 @@ The following diagrams visualize each scenario provisioned by `deploy_all.sh`. T

## Quick Start

1. **Deploy against real Azure** (eastus by default):
1.

## Quick Start

1. **Start the LocalStack Azure emulator**
```bash
# Start the LocalStack Azure emulator
IMAGE_NAME=localstack/localstack-azure-alpha localstack start -d
localstack wait -t 60

# Route all Azure CLI calls to the LocalStack Azure emulator
azlocal start-interception
```

2. **Deploy against real Azure** (eastus by default):
```bash
bash ./scripts/deploy_all.sh --name-prefix mydemo
```

2. **Deploy against LocalStack emulator**:
3. **Deploy against LocalStack emulator**:
```bash
bash ./scripts/deploy_all.sh --name-prefix mydemo --use-localstack
```
Expand Down
9 changes: 8 additions & 1 deletion samples/function-app-managed-identity/python/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,15 @@ docker pull localstack/localstack-azure-alpha
Start the LocalStack Azure emulator by running:

```bash
# Set the authentication token
export LOCALSTACK_AUTH_TOKEN=<your_auth_token>
IMAGE_NAME=localstack/localstack-azure-alpha localstack start

# Start the LocalStack Azure emulator
IMAGE_NAME=localstack/localstack-azure-alpha localstack start -d
localstack wait -t 60

# Route all Azure CLI calls to the LocalStack Azure emulator
azlocal start-interception
```

Deploy the application to LocalStack for Azure using one of these methods:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,15 @@ docker pull localstack/localstack-azure-alpha
Start the LocalStack Azure emulator using the localstack CLI, execute the following command:

```bash
# Set the authentication token
export LOCALSTACK_AUTH_TOKEN=<your_auth_token>
IMAGE_NAME=localstack/localstack-azure-alpha localstack start

# Start the LocalStack Azure emulator
IMAGE_NAME=localstack/localstack-azure-alpha localstack start -d
localstack wait -t 60

# Route all Azure CLI calls to the LocalStack Azure emulator
azlocal start-interception
```

Navigate to the `bicep` folder:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,15 @@ docker pull localstack/localstack-azure-alpha
Start the LocalStack Azure emulator using the localstack CLI, execute the following command:

```bash
# Set the authentication token
export LOCALSTACK_AUTH_TOKEN=<your_auth_token>
IMAGE_NAME=localstack/localstack-azure-alpha localstack start

# Start the LocalStack Azure emulator
IMAGE_NAME=localstack/localstack-azure-alpha localstack start -d
localstack wait -t 60

# Route all Azure CLI calls to the LocalStack Azure emulator
azlocal start-interception
```

Navigate to the `scripts` folder:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,15 @@ docker pull localstack/localstack-azure-alpha
Start the LocalStack Azure emulator using the localstack CLI, execute the following command:

```bash
# Set the authentication token
export LOCALSTACK_AUTH_TOKEN=<your_auth_token>
IMAGE_NAME=localstack/localstack-azure-alpha localstack start

# Start the LocalStack Azure emulator
IMAGE_NAME=localstack/localstack-azure-alpha localstack start -d
localstack wait -t 60

# Route all Azure CLI calls to the LocalStack Azure emulator
azlocal start-interception
```

Navigate to the `terraform` folder:
Expand Down
11 changes: 9 additions & 2 deletions samples/function-app-service-bus/dotnet/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,16 @@ docker pull localstack/localstack-azure-alpha
Start the LocalStack Azure emulator by running:

```bash
# Set the authentication token
export LOCALSTACK_AUTH_TOKEN=<your_auth_token>
IMAGE_NAME=localstack/localstack-azure-alpha localstack start
```

# Start the LocalStack Azure emulator
IMAGE_NAME=localstack/localstack-azure-alpha localstack start -d
localstack wait -t 60

# Route all Azure CLI calls to the LocalStack Azure emulator
azlocal start-interception
```

Deploy the application to LocalStack for Azure using one of these methods:

Expand Down
9 changes: 8 additions & 1 deletion samples/function-app-service-bus/dotnet/bicep/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,15 @@ docker pull localstack/localstack-azure-alpha
Start the LocalStack Azure emulator using the localstack CLI, execute the following command:

```bash
# Set the authentication token
export LOCALSTACK_AUTH_TOKEN=<your_auth_token>
IMAGE_NAME=localstack/localstack-azure-alpha localstack start

# Start the LocalStack Azure emulator
IMAGE_NAME=localstack/localstack-azure-alpha localstack start -d
localstack wait -t 60

# Route all Azure CLI calls to the LocalStack Azure emulator
azlocal start-interception
```

Navigate to the `bicep` folder:
Expand Down
9 changes: 8 additions & 1 deletion samples/function-app-service-bus/dotnet/scripts/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,15 @@ docker pull localstack/localstack-azure-alpha
Start the LocalStack Azure emulator using the localstack CLI, execute the following command:

```bash
# Set the authentication token
export LOCALSTACK_AUTH_TOKEN=<your_auth_token>
IMAGE_NAME=localstack/localstack-azure-alpha localstack start

# Start the LocalStack Azure emulator
IMAGE_NAME=localstack/localstack-azure-alpha localstack start -d
localstack wait -t 60

# Route all Azure CLI calls to the LocalStack Azure emulator
azlocal start-interception
```

Navigate to the `scripts` folder:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,15 @@ docker pull localstack/localstack-azure-alpha
Start the LocalStack Azure emulator using the localstack CLI, execute the following command:

```bash
# Set the authentication token
export LOCALSTACK_AUTH_TOKEN=<your_auth_token>
IMAGE_NAME=localstack/localstack-azure-alpha localstack start

# Start the LocalStack Azure emulator
IMAGE_NAME=localstack/localstack-azure-alpha localstack start -d
localstack wait -t 60

# Route all Azure CLI calls to the LocalStack Azure emulator
azlocal start-interception
```

Navigate to the `terraform` folder:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,15 @@ docker pull localstack/localstack-azure-alpha
Start the LocalStack Azure emulator using the localstack CLI, execute the following command:

```bash
# Set the authentication token
export LOCALSTACK_AUTH_TOKEN=<your_auth_token>
IMAGE_NAME=localstack/localstack-azure-alpha localstack start

# Start the LocalStack Azure emulator
IMAGE_NAME=localstack/localstack-azure-alpha localstack start -d
localstack wait -t 60

# Route all Azure CLI calls to the LocalStack Azure emulator
azlocal start-interception
```

Navigate to the `terraform` folder:
Expand Down
9 changes: 8 additions & 1 deletion samples/servicebus/java/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,15 @@ docker pull localstack/localstack-azure-alpha
Start the LocalStack Azure emulator by running:

```bash
# Set the authentication token
export LOCALSTACK_AUTH_TOKEN=<your_auth_token>
IMAGE_NAME=localstack/localstack-azure-alpha localstack start

# Start the LocalStack Azure emulator
IMAGE_NAME=localstack/localstack-azure-alpha localstack start -d
localstack wait -t 60

# Route all Azure CLI calls to the LocalStack Azure emulator
azlocal start-interception
```

Deploy the application to LocalStack for Azure using one of these methods:
Expand Down
9 changes: 8 additions & 1 deletion samples/servicebus/java/bicep/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,15 @@ docker pull localstack/localstack-azure-alpha
Start the LocalStack Azure emulator using the localstack CLI, execute the following command:

```bash
# Set the authentication token
export LOCALSTACK_AUTH_TOKEN=<your_auth_token>
IMAGE_NAME=localstack/localstack-azure-alpha localstack start

# Start the LocalStack Azure emulator
IMAGE_NAME=localstack/localstack-azure-alpha localstack start -d
localstack wait -t 60

# Route all Azure CLI calls to the LocalStack Azure emulator
azlocal start-interception
```

Navigate to the `bicep` folder:
Expand Down
9 changes: 8 additions & 1 deletion samples/servicebus/java/scripts/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,15 @@ docker pull localstack/localstack-azure-alpha
Start the LocalStack Azure emulator using the localstack CLI, execute the following command:

```bash
# Set the authentication token
export LOCALSTACK_AUTH_TOKEN=<your_auth_token>
IMAGE_NAME=localstack/localstack-azure-alpha localstack start

# Start the LocalStack Azure emulator
IMAGE_NAME=localstack/localstack-azure-alpha localstack start -d
localstack wait -t 60

# Route all Azure CLI calls to the LocalStack Azure emulator
azlocal start-interception
```

Navigate to the `scripts` folder:
Expand Down
9 changes: 8 additions & 1 deletion samples/servicebus/java/terraform/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,15 @@ docker pull localstack/localstack-azure-alpha
Start the LocalStack Azure emulator using the localstack CLI, execute the following command:

```bash
# Set the authentication token
export LOCALSTACK_AUTH_TOKEN=<your_auth_token>
IMAGE_NAME=localstack/localstack-azure-alpha localstack start

# Start the LocalStack Azure emulator
IMAGE_NAME=localstack/localstack-azure-alpha localstack start -d
localstack wait -t 60

# Route all Azure CLI calls to the LocalStack Azure emulator
azlocal start-interception
```

Navigate to the `terraform` folder:
Expand Down
11 changes: 9 additions & 2 deletions samples/web-app-cosmosdb-mongodb-api/python/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,16 @@ docker pull localstack/localstack-azure-alpha
Start the LocalStack Azure emulator by running:

```bash
# Set the authentication token
export LOCALSTACK_AUTH_TOKEN=<your_auth_token>
IMAGE_NAME=localstack/localstack-azure-alpha localstack start
```

# Start the LocalStack Azure emulator
IMAGE_NAME=localstack/localstack-azure-alpha localstack start -d
localstack wait -t 60

# Route all Azure CLI calls to the LocalStack Azure emulator
azlocal start-interception
```

Deploy the application to LocalStack for Azure using one of these methods:

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,15 @@ docker pull localstack/localstack-azure-alpha
Start the LocalStack Azure emulator using the localstack CLI, execute the following command:

```bash
# Set the authentication token
export LOCALSTACK_AUTH_TOKEN=<your_auth_token>
IMAGE_NAME=localstack/localstack-azure-alpha localstack start

# Start the LocalStack Azure emulator
IMAGE_NAME=localstack/localstack-azure-alpha localstack start -d
localstack wait -t 60

# Route all Azure CLI calls to the LocalStack Azure emulator
azlocal start-interception
```

Navigate to the `bicep` folder:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,15 @@ docker pull localstack/localstack-azure-alpha
Start the LocalStack Azure emulator using the localstack CLI, execute the following command:

```bash
# Set the authentication token
export LOCALSTACK_AUTH_TOKEN=<your_auth_token>
IMAGE_NAME=localstack/localstack-azure-alpha localstack start

# Start the LocalStack Azure emulator
IMAGE_NAME=localstack/localstack-azure-alpha localstack start -d
localstack wait -t 60

# Route all Azure CLI calls to the LocalStack Azure emulator
azlocal start-interception
```

Navigate to the `scripts` folder:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,15 @@ docker pull localstack/localstack-azure-alpha
Start the LocalStack Azure emulator using the localstack CLI, execute the following command:

```bash
# Set the authentication token
export LOCALSTACK_AUTH_TOKEN=<your_auth_token>
IMAGE_NAME=localstack/localstack-azure-alpha localstack start

# Start the LocalStack Azure emulator
IMAGE_NAME=localstack/localstack-azure-alpha localstack start -d
localstack wait -t 60

# Route all Azure CLI calls to the LocalStack Azure emulator
azlocal start-interception
```

Navigate to the `terraform` folder:
Expand Down
11 changes: 9 additions & 2 deletions samples/web-app-cosmosdb-nosql-api/python/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,16 @@ docker pull localstack/localstack-azure-alpha
Start the LocalStack Azure emulator by running:

```bash
# Set the authentication token
export LOCALSTACK_AUTH_TOKEN=<your_auth_token>
IMAGE_NAME=localstack/localstack-azure-alpha localstack start
```

# Start the LocalStack Azure emulator
IMAGE_NAME=localstack/localstack-azure-alpha localstack start -d
localstack wait -t 60

# Route all Azure CLI calls to the LocalStack Azure emulator
azlocal start-interception
```

Deploy the application to LocalStack for Azure using:

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,15 @@ docker pull localstack/localstack-azure-alpha
Start the LocalStack Azure emulator using the localstack CLI, execute the following command:

```bash
# Set the authentication token
export LOCALSTACK_AUTH_TOKEN=<your_auth_token>
IMAGE_NAME=localstack/localstack-azure-alpha localstack start

# Start the LocalStack Azure emulator
IMAGE_NAME=localstack/localstack-azure-alpha localstack start -d
localstack wait -t 60

# Route all Azure CLI calls to the LocalStack Azure emulator
azlocal start-interception
```

Navigate to the `scripts` folder:
Expand Down
Loading