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 executionscript parameter: ContainerImage.imageconfiguration(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(scriptname='train.py', arguments=['--workspacename', 'MyWS', '--modelpath', './mymodel.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