Extension name
quantum
Related command
az quantum workspace create
Description of issue
An error occurs when creating a workspace if a Provider/SKU is specified in the command line -r parameter and that Provider also offers a different Credits For All (C4A) SKU (Plan).
To repro, create a workspace adding a Provider that offers a C4A Plan, but specify a different Plan in the -r parameter, for example:
az quantum workspace create -r rg-v-wjones2 -l eastus -w bug-repro-ws-2 -a bugreprostorage2 -r ionq/aq-internal-testing
The following error may occur:
"code": "ProviderDeploymentFailure",
"message": "Failed to create plan for provider: ionq. More details: '{\"error\":{\"code\":\"CannotUpdatePlan\",\"message\":\"Resource plan can not be changed for Resource id: . . .
The CLI extension should not add multiple Plans for a given Provider, because that causes a conflict creating the Managed Application for that Provider. if a Provider's Plan is specified in the command line -r parameter, and that Provider also offers a different C4A Plan, only the Plan specified with the -r parameter should be added to the workspace.
Extension name
quantum
Related command
az quantum workspace create
Description of issue
An error occurs when creating a workspace if a Provider/SKU is specified in the command line
-rparameter and that Provider also offers a different Credits For All (C4A) SKU (Plan).To repro, create a workspace adding a Provider that offers a C4A Plan, but specify a different Plan in the
-rparameter, for example:The following error may occur:
The CLI extension should not add multiple Plans for a given Provider, because that causes a conflict creating the Managed Application for that Provider. if a Provider's Plan is specified in the command line
-rparameter, and that Provider also offers a different C4A Plan, only the Plan specified with the-rparameter should be added to the workspace.