diff --git a/builder/azure/arm/builder.go b/builder/azure/arm/builder.go index 6493fa54b..f7876b463 100644 --- a/builder/azure/arm/builder.go +++ b/builder/azure/arm/builder.go @@ -85,6 +85,7 @@ func (b *Builder) Run(ui packer.Ui, hook packer.Hook, cache packer.Cache) (packe b.config.cloudEnvironment, spnCloud, spnKeyVault) + if err != nil { return nil, err }