Skip to content

Support starting the Azure emulator#262

Merged
carole-lavillonniere merged 3 commits into
mainfrom
az-support
Jun 1, 2026
Merged

Support starting the Azure emulator#262
carole-lavillonniere merged 3 commits into
mainfrom
az-support

Conversation

@carole-lavillonniere
Copy link
Copy Markdown
Collaborator

@carole-lavillonniere carole-lavillonniere commented May 27, 2026

Motivation

Minimal implementation so that LocalStack Azure emulator (localstack/localstack-azure-alpha) can be started.

Changes

  • Register the Azure emulator in internal/config: knownImages (localstack/localstack-azure), emulatorHealthPaths, and ContainerPort — so Image()/ProductName()/HealthPath()/ContainerPort() resolve for Azure.
  • Add Azure to SelectableEmulatorTypes so it appears in the first-run emulator picker. Replaced the first-character SelectionKey() with an explicit unique-key map (a/s/z) — aws and azure both start with "a", so without this, selecting Azure resolved to AWS.
  • Skip lstk's pre-flight platform license check for Azure, mirroring Snowflake. Introduced EmulatorType.SelfValidatesLicense() (Snowflake + Azure) and used it in start.go (pre-pull and post-pull validation) and label.go. The Azure-alpha container activates its own license against the licensing server; lstk's platform GetLicense as no catalog entry for it and would otherwise abort the start.
  1. Select
select
  1. Started
az-started
  1. Status
az-status
  1. Stop
az-stop

TODO before merging

  • Change the image name to localstack-azure, see SMF-642

Towards FLC-679

@carole-lavillonniere carole-lavillonniere marked this pull request as ready for review June 1, 2026 14:16
Copy link
Copy Markdown
Collaborator

@anisaoshafi anisaoshafi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀

@carole-lavillonniere carole-lavillonniere merged commit abc28ea into main Jun 1, 2026
12 checks passed
@carole-lavillonniere carole-lavillonniere deleted the az-support branch June 1, 2026 14:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants