Open gsuttie opened 1 year ago
It looks like subscriptionID
never resolved.
Unrelated note you may want to update bicep cli - that version is from 2020.
Very odd as I always keep Bicep AZ CLI up-to-date and when i try to update it just does nothing. Not sure why its showing that version and or not updating.
Bicep CLI version 0.22.6 (d62b94db31) - odd that it just started working after typing this!
Tried several things and still no luck
It only happens when im using a public ip address - if i remove that I can update without errors.
Any time you see "Internal Server Error" it is a bug in the services error handling logic and the next step is to open a support case. Can you try opening a case with the Virtual Machines team?
In parallel, it'd be good to get the full repro including the param
declarations and the module definition.
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @Drewm3, @TravisCragg-MSFT, @nikhilpatel909, @sandeepraichura, @hilaryw29, @GabstaMSFT. Please see https://aka.ms/biceptypesinfo for troubleshooting help.
Bicep version Bicep CLI version 0.22.6 (d62b94db31)
Describe the bug When I run my bicep script it deploys a vm, disk, nic and a public ip and seems to work with no errors. If I just rerun the script the whatif shows Moficications to the pip and nic
To Reproduce Run the script then run it agai straight after - so rerun the following script
Additional context Add any other context about the problem here.
This is the error I see
{"status":"Failed","error":{"code":"DeploymentFailed","target":"/subscriptions//providers/Microsoft.Resources/deployments/","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":Please list deployment operations for details. Please see https://aka.ms/arm-deployment-operations for usage details.","details":[{"code":"ResourceDeploymentFailure","target":"/subscriptions//resourceGroups/rg-vm--prd-weu/providers/Microsoft.Resources/deployments/vm-service","message":"The resource write operation failed to complete successfully, because it reached terminal provisioning state 'Failed'.","details":[{"code":"DeploymentFailed","target":"/subscriptions//resourceGroups/rg-vm--prd-weu/providers/Microsoft.Resources/deployments/vm-service","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":"ResourceDeploymentFailure","target":"/subscriptions//resourceGroups/rg-vm--prd-weu/providers/Microsoft.Resources/deployments/zir2tz2afng2a-VM-Nic-0","message":"The resource write operation failed to complete successfully, because it reached terminal provisioning state 'Failed'.","details":[{"code":"DeploymentFailed","target":"/subscriptions//resourceGroups/rg-vm--prd-weu/providers/Microsoft.Resources/deployments/-VM-Nic-0","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":"ResourceDeploymentFailure","target":"/subscriptions//resourceGroups/rg-vm--prd-weu/providers/Microsoft.Resources/deployments/-VM-Nic-0-publicIP-0","message":"The resource write operation failed to complete successfully, because it reached terminal provisioning state 'Failed'.","details":[{"code":"DeploymentFailed","target":"/subscriptions//resourceGroups/rg-vm--prd-weu/providers/Microsoft.Resources/deployments/-VM-Nic-0-publicIP-0","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":"ResourceDeploymentFailure","target":"/subscriptions//resourceGroups/rg-vm--prd-weu/providers/Microsoft.Network/publicIPAddresses/vm-service-pip","message":"The resource write operation failed to complete successfully, because it reached terminal provisioning state 'Failed'.","details":[{"code":"InternalServerError","message":"An error occurred.","details":[]}]}]}]}]}]}]}]}]}}
Something went wrong. Please check the error and try again.