Skip to content

Commit

Permalink
Bugfix for the required prompts for the AzureML wizard (#2959)
Browse files Browse the repository at this point in the history
* fixing the required prompts

* fixing the prompt text
  • Loading branch information
bcdurak authored Aug 28, 2024
1 parent 1129bd1 commit 990498a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/zenml/cli/stack.py
Original file line number Diff line number Diff line change
Expand Up @@ -2477,6 +2477,12 @@ def query_region(
"Skypilot cluster",
is_skypilot=True,
)
elif flavor == "azureml":
config["subscription_id"] = Prompt.ask(
"Enter the subscription ID:"
)
config["resource_group"] = Prompt.ask("Enter the resource group:")
config["workspace"] = Prompt.ask("Enter the workspace name:")
elif flavor == "vertex":
config["location"] = query_region(
StackDeploymentProvider.GCP, "Vertex AI job"
Expand Down

0 comments on commit 990498a

Please sign in to comment.