diff --git a/builtin/providers/azure/resource_azure_instance.go b/builtin/providers/azure/resource_azure_instance.go index c30b07ea4..097b210f5 100644 --- a/builtin/providers/azure/resource_azure_instance.go +++ b/builtin/providers/azure/resource_azure_instance.go @@ -695,7 +695,7 @@ func retrieveVMImageDetails( } configureForImage := func(role *virtualmachine.Role) error { - return vmutils.ConfigureDeploymentFromVMImage( + return vmutils.ConfigureDeploymentFromPublishedVMImage( role, img.Name, "",