-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Description
During deployment (execution of environment_setup/iac-create-environment.yml), an ML service workspace name is created by concatenating baseName with ‘-AML-WS’. This is done in environment_setup/arm-templates/cloud-environment.json with this line of code: "amlWorkspaceName": "[concat(parameters('baseName'),'-AML-WS')]".
During the ci pipeline build (.pipelines/azdo-ci-build-train.yml), code_test.py is executed and it starts by setting up the workspace parameters. workspace_name is derived from the variable group parameter “AML_WORKSPACE_NAME”. When AML_WORKSPACE_NAME differs from amlWorkspaceName, the tests and ci pipeline fail.
Since AML workspace names do not need to be unique across the service, recommend that the deployment script be changed to use the parameter in the variable group AML_WORKSPACE_NAME rather than derive the name using the BASE_NAME parameter.