When trying to rebuild a deployment using Day 2 actions it fails with "Given imageRef: /resources/images/##### not found for compute"
Environment
Aria Automation 8.18.1
Cause
The image that was used to build the VM(s) in the deployment no longer exists and a deployment level rebuild Day 2 action does not allow for selecting a new image
Resolution
As documented here the rebuild Day 2 can be run at both the deployment and machine level
Running it against the deployment will not allow for selecting a new image, but running it directly against a machine will
Use this difference in behavior to avoid the error by rebuilding the VM
If the full deployment must be rebuilt, rebuild the VM first using a valid image and then rebuild the deployment