Add possibility to pass parameters to scoring script when deploying an image
When deploying an image to AML Service, the path of the scoring script is given to the method using the execution_script parameter: ContainerImage.image_configuration(execution_script='score.py', ...). However, there is no argument for passing values to script parameters, which are needed in the init() function to do stuff like fetching passwords from Key Vault and getting sample data for the schema.
Please add the possibility to pass parameters to the scoring script when deploying and image to AML Service. For example, when creating a Python script step in an AML Pipeline, we can add these parameters as follows: PythonScriptStep(script_name='train.py', arguments=['--workspace_name', 'MyWS', '--model_path', './my_model.pk']. A similar functionality is much needed for deployment as well.
Dear Azure Customer,
Thanks for the feedback. Your feedback is very important to us. We will investigate it and get back to you soon.
Thank you for understanding.
Azure CXP Community