Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deployment failure on scaleSetTemplate #311

Open
FerAgo-Sys opened this issue Oct 10, 2024 · 0 comments
Open

Deployment failure on scaleSetTemplate #311

FerAgo-Sys opened this issue Oct 10, 2024 · 0 comments

Comments

@FerAgo-Sys
Copy link

I applied this template today using the fully configurable deployment and I came across with the following error:

{"code":"DeploymentFailed","message":"At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/arm-deployment-operations for usage details.","details":[{"code":"BadRequest","message":"{\r\n "code": "TargetResourceIdIsImmutable",\r\n "message": "The autoscale setting 'autoscalewad' under resource group 'IT-SERVICES-MOODLE-RG' is referencing target resource '/subscriptions/425f3735-5409-429d-b7bb-4059cec7de32/resourceGroups/IT-SERVICES-MOODLE-RG/providers/Microsoft.Compute/virtualMachineScaleSets/vmss-hu7wlg'. The target resource reference is immutable. If you want to change it, please create a new autoscale setting with a different name."\r\n}"}]}

The Scale Set configurations were the following:

controllerVmSku: Standard_D16ds_v4
webServerType: nginx
autoscaleVmSku: Standard_D16ds_v4
autoscaleVmCountMax: 10
autoscaleVmCountMin: 1

I applied the same configuration (with the exact same parameters) on October 1th and it executed without any errors.

What could be the issue?

Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant