From 435fa92d31c7da44d637d12a408b4109c33a24f2 Mon Sep 17 00:00:00 2001 From: Daniel <10074684+danieltprice@users.noreply.github.com> Date: Mon, 7 Oct 2024 11:17:48 -0300 Subject: [PATCH 1/2] Add upgrade guidance This guidance is intended to help users avoid unintended resource replacements that could result in data loss in Neon. --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index e9abb46..e820806 100644 --- a/README.md +++ b/README.md @@ -62,6 +62,10 @@ make build make install ``` +## Updating the Provider + +When updating your provider version, avoid using `terraform init -upgrade` in CI pipelines and auto-approved pull requests, as this can lead to unintended resource replacements and data loss. Instead, use `terraform init` in your automated workflows. Running `terraform init -upgrade` should always be done manually, followed by plan reviews. For additional guidance, see [Important usage notes](https://neon.tech/docs/reference/terraform#important-usage-notes) in the Neon documentation. + ## Local development ### Requirements From 6435342c744588f244e9b5e0cf4f4469126cee36 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 21 Oct 2024 05:55:20 +0000 Subject: [PATCH 2/2] chore(deps): Bump github.com/kislerdm/neon-sdk-go from 0.6.1 to 0.7.0 Bumps [github.com/kislerdm/neon-sdk-go](https://github.com/kislerdm/neon-sdk-go) from 0.6.1 to 0.7.0. - [Release notes](https://github.com/kislerdm/neon-sdk-go/releases) - [Changelog](https://github.com/kislerdm/neon-sdk-go/blob/master/CHANGELOG.md) - [Commits](https://github.com/kislerdm/neon-sdk-go/compare/v0.6.1...v0.7.0) --- updated-dependencies: - dependency-name: github.com/kislerdm/neon-sdk-go dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- go.mod | 2 +- go.sum | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/go.mod b/go.mod index c9f22c0..8d34842 100644 --- a/go.mod +++ b/go.mod @@ -7,7 +7,7 @@ require ( github.com/hashicorp/terraform-plugin-docs v0.19.4 github.com/hashicorp/terraform-plugin-log v0.9.0 github.com/hashicorp/terraform-plugin-sdk/v2 v2.33.0 - github.com/kislerdm/neon-sdk-go v0.6.1 + github.com/kislerdm/neon-sdk-go v0.7.0 github.com/stretchr/testify v1.8.2 ) diff --git a/go.sum b/go.sum index 5dc3635..7dce0aa 100644 --- a/go.sum +++ b/go.sum @@ -122,8 +122,8 @@ github.com/jhump/protoreflect v1.15.1 h1:HUMERORf3I3ZdX05WaQ6MIpd/NJ434hTp5YiKgf github.com/jhump/protoreflect v1.15.1/go.mod h1:jD/2GMKKE6OqX8qTjhADU1e6DShO+gavG9e0Q693nKo= github.com/kevinburke/ssh_config v1.2.0 h1:x584FjTGwHzMwvHx18PXxbBVzfnxogHaAReU4gf13a4= github.com/kevinburke/ssh_config v1.2.0/go.mod h1:CT57kijsi8u/K/BOFA39wgDQJ9CxiF4nAY/ojJ6r6mM= -github.com/kislerdm/neon-sdk-go v0.6.1 h1:ILnqrZzRsjbAnxXOx3wb9HKUGR21pv14Y7U3yibUN00= -github.com/kislerdm/neon-sdk-go v0.6.1/go.mod h1:WSwEZ7oeR5KfQoCuDh/04LZxnSKDcvfsZyfG/QicDb8= +github.com/kislerdm/neon-sdk-go v0.7.0 h1:Xboh1mZO0jM8ss6u6iuVBkgBk9rXeq0PyoNisxi/fUA= +github.com/kislerdm/neon-sdk-go v0.7.0/go.mod h1:WSwEZ7oeR5KfQoCuDh/04LZxnSKDcvfsZyfG/QicDb8= github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo= github.com/kr/pretty v0.3.0 h1:WgNl7dwNpEZ6jJ9k1snq4pZsg7DOEN8hP9Xw0Tsjwk0= github.com/kr/pretty v0.3.0/go.mod h1:640gp4NfQd8pI5XOwp5fnNeVWj67G7CFk/SaSQn7NBk=