Closed NorseGaud closed 3 years ago
1.6.6 started the migration to extracting the plugin sdk to a separate repo. You need to update your imports to pull in the correct paths. In the next version, the sdk is in a different repo: https://github.com/hashicorp/packer-plugin-sdk
From the CHANGELOG:
Future Scaffolding This release contains a large number of no-op refactoring changes. The Packer team at HashiCorp is preparing to split the plugins and core to make it easier for our third party maintainers and community members to release and maintain plugins, just like HashiCorp did with the Terraform Core-Provider split. The Packer team is committed to making sure that this split is seamless for our users and for our community maintainers -- if you are a community maintainer, you may want to follow along with some of the work by looking at the core-plugin-split github tag. No one needs to do anything, yet, but we felt it was worth calling out all the work that isn't making it into the changelog. We will be following up with lots of documentation and communication in early 2021 with more information.
The Packer team is committed to making sure that this split is seamless for our users
No one needs to do anything, yet, but we felt it was worth calling out all the work that isn't making it into the changelog. We will be following up with lots of documentation and communication in early 2021 with more information.
Just a little confusing. Thanks for the follow-up.
this should fix it: https://github.com/veertuinc/packer-builder-veertu-anka/pull/55
Ah, sorry for this -- we assumed incorrectly that maintainers of third party plugins wouldn't immediately rebuild trying to use the latest Packer version; if you build with the older packer version this still works and is compatible with the v1.6.6 core, but if you try to upgrade to use v1.6.6 as a module you'll need to use the new sdk repo.
Hello! As v1.7.0 is released, you can upgrade your plugin to use our SDK and use the guide and scripts to help you with that. Here they are https://www.packer.io/guides/1.7-plugin-upgrade.
I'll close this issue. Let us know if you need any help upgrading your plugin.
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
Overview of the Issue
Old package has it:
But the new one doesn't
Reproduction Steps
See above
go.mod
Packer version
1.6.6
Operating system and Environment details
Log Fragments and crash.log files