We are planning to provision VM\'s through Terraform in Azure with images stored in the Shared Image Gallery. The script works perfectly fine when run initially.
However,