packer-plugin-openstack
packer-plugin-openstack copied to clipboard
fix: treat 404 on server delete as success
same as in ServerStateRefreshFunc
Description
What code changed, and why?
Handling of 404 responses when trying to delete an instance the second time around. Simpler Version of #127, might be easier to merge? Similar logic is already used in the project at: https://github.com/hashicorp/packer-plugin-openstack/blob/a7e79ff321ff2b425ea8851b43682f9f2bdbcc63/builder/openstack/server.go#L45