Closed bnfbiz closed 6 months ago
Hey @bnfbiz I have merged a PR https://github.com/hashicorp/packer-plugin-azure/pull/397 adding this functionality, it will be released in the coming weeks, thanks for reporting this, definitely something worth correcting!
When filing a bug, please include the following headings if possible. Any example text in this template can be deleted.
Overview of the Issue
When using the
-force
option to packer and creating a new image in the image gallery it fails to remove the image from the gallery.Reproduction Steps
Build the image the first time
Rebuild the image a second time (iterate on the template config)
Plugin and Packer version
From
packer version
Simplified Packer Buildfile
source-azure.pkr.hcl
vars.pkr.hcl
versions.pkr.hcl
azure-vm.pkr.hcl
Operating system and Environment details
WSL Ubuntu 22.04
Log Fragments and crash.log files
Error provided above