From d6849ec3da3d8cbac6c60b00cd2804b1d85ad7ee Mon Sep 17 00:00:00 2001 From: jo Date: Tue, 7 Nov 2023 09:44:09 +0100 Subject: [PATCH 1/2] chore: remove unused .go-version --- .go-version | 2 -- 1 file changed, 2 deletions(-) delete mode 100644 .go-version diff --git a/.go-version b/.go-version deleted file mode 100644 index aa08dca4..00000000 --- a/.go-version +++ /dev/null @@ -1,2 +0,0 @@ -1.20.10 - From f686177b3cfae6cde5e444f3c25c9c251ac136ed Mon Sep 17 00:00:00 2001 From: jo Date: Tue, 7 Nov 2023 09:58:19 +0100 Subject: [PATCH 2/2] docs: add namespace migration guide --- README.md | 2 +- docs/README.md | 16 ++++++++++++++++ 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 22cf874f..07e9cab1 100644 --- a/README.md +++ b/README.md @@ -44,7 +44,7 @@ binary file can be found in the root directory. To install the compiled plugin, please follow the official Packer documentation on [installing a plugin](https://www.packer.io/docs/extending/plugins/#installing-plugins). -### Configuration +## Configuration For more information on how to configure the plugin, please read the documentation located in the [`docs/`](docs) directory. diff --git a/docs/README.md b/docs/README.md index 1497fc8b..a2696604 100644 --- a/docs/README.md +++ b/docs/README.md @@ -22,6 +22,22 @@ Alternatively, you can use `packer plugins install` to manage installation of th $ packer plugins install github.com/hetznercloud/hcloud ``` +#### Migrate from `github.com/hashicorp/hcloud` + +On the 7 November 2023, the Packer plugin source moved from `github.com/hashicorp/hcloud` to `github.com/hetznercloud/hcloud`, make sure to update your Packer configuration with the new source: + +```patch + packer { + required_plugins { + hcloud = { +- source = "github.com/hashicorp/hcloud" ++ source = "github.com/hetznercloud/hcloud" + version = ">= 1.1.1" + } + } + } +``` + ### Components #### Builders