Skip to content

build(deps): Bump github.com/hashicorp/terraform-plugin-sdk/v2 from 2.28.0 to 2.29.0 #183

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Sep 7, 2023

Bumps github.com/hashicorp/terraform-plugin-sdk/v2 from 2.28.0 to 2.29.0.

Release notes

Sourced from github.com/hashicorp/terraform-plugin-sdk/v2's releases.

v2.29.0

NOTES:

  • all: This Go module has been updated to Go 1.20 per the Go support policy. It is recommended to review the Go 1.20 release notes before upgrading. Any consumers building on earlier Go versions may experience errors. (#1245)

FEATURES:

  • helper/schema: Upgrade to protocol version 5.4, which can significantly reduce memory usage with Terraform 1.6 and later when a configuration includes multiple instances of the same provider (#1234)

ENHANCEMENTS:

  • helper/validation: Added AllDiag and AnyDiag, which are SchemaValidateDiagFunc variants of All and Any (#1155)
  • helper/validation: Added quoting in StringInSlice error diagnostic output to prevent confusion with values that contain spaces (#464)
Changelog

Sourced from github.com/hashicorp/terraform-plugin-sdk/v2's changelog.

2.29.0 (September 06, 2023)

NOTES:

  • all: This Go module has been updated to Go 1.20 per the Go support policy. It is recommended to review the Go 1.20 release notes before upgrading. Any consumers building on earlier Go versions may experience errors. (#1245)

FEATURES:

  • helper/schema: Upgrade to protocol version 5.4, which can significantly reduce memory usage with Terraform 1.6 and later when a configuration includes multiple instances of the same provider (#1234)

ENHANCEMENTS:

  • helper/validation: Added AllDiag and AnyDiag, which are SchemaValidateDiagFunc variants of All and Any (#1155)
  • helper/validation: Added quoting in StringInSlice error diagnostic output to prevent confusion with values that contain spaces (#464)
Commits
  • 6b58e7f Update changelog
  • d419eaa helper/schema: Update to protocol version 5.4 and enable `GetProviderSchemaOp...
  • 80fb516 all: Update Go Module to Go 1.20 (#1246)
  • 027d6b6 build(deps): Bump golang.org/x/crypto from 0.12.0 to 0.13.0 (#1244)
  • 87f3cd8 Result of tsccr-helper -log-level=info -pin-all-workflows . (#1243)
  • c472804 build(deps): Bump github.com/hashicorp/hcl/v2 from 2.17.0 to 2.18.0 (#1239)
  • 1736372 build(deps): Bump github.com/hashicorp/terraform-exec (#1242)
  • 82fee9d build(deps): Bump github.com/hashicorp/hc-install from 0.5.2 to 0.6.0 (#1241)
  • 3e10d01 website: Add data consistency error docs for "planned value does not match co...
  • 1fe17a7 Update CHANGELOG for #1155 (#1238)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [github.com/hashicorp/terraform-plugin-sdk/v2](https://github.com/hashicorp/terraform-plugin-sdk) from 2.28.0 to 2.29.0.
- [Release notes](https://github.com/hashicorp/terraform-plugin-sdk/releases)
- [Changelog](https://github.com/hashicorp/terraform-plugin-sdk/blob/main/CHANGELOG.md)
- [Commits](hashicorp/terraform-plugin-sdk@v2.28.0...v2.29.0)

---
updated-dependencies:
- dependency-name: github.com/hashicorp/terraform-plugin-sdk/v2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot requested a review from a team as a code owner September 7, 2023 12:32
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Sep 7, 2023
Copy link
Contributor

@bflad bflad left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Recommend implementation so we don't have to think about it later, but otherwise looks good to me 🚀

@@ -57,6 +58,10 @@ type ProviderServer struct {
Provider provider.Provider
}

func (s ProviderServer) GetMetadata(ctx context.Context, request *tfprotov6.GetMetadataRequest) (*tfprotov6.GetMetadataResponse, error) {
return &tfprotov6.GetMetadataResponse{}, nil
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since its relatively straightforward, I'd recommend to go ahead an implement the response correctly similar to the GetProviderSchema logic:

resp := &tfprotov6.GetMetadataResponse{
	ServerCapabilities: &tfprotov6.ServerCapabilities{
		GetProviderSchemaOptional: true,
		PlanDestroy: true,
	},
}

for typeName := range s.Provider.DataSourcesMap() {
	resp.DataSources = append(resp.DataSources, tfprotov6.DataSourceMetadata{
		TypeName: typeName,
	}),
}

for typeName := range s.Provider.ResourcesMap() {
	resp.Resources = append(resp.Resources, tfprotov6.ResourceMetadata{
		TypeName: typeName,
	}),
}

return resp, nil

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the feedback. Have added your suggested changes.

@bflad bflad added this to the v1.6.0 milestone Sep 7, 2023
@bflad
Copy link
Contributor

bflad commented Sep 7, 2023

Adding this comment for cross-referencing, but explicitly not telling GitHub to close immediately on pull request merge since we probably should release soon afterwards: #185

@bendbennett bendbennett merged commit 4da90ed into main Sep 11, 2023
@bendbennett bendbennett deleted the dependabot/go_modules/github.com/hashicorp/terraform-plugin-sdk/v2-2.29.0 branch September 11, 2023 06:24
@github-actions
Copy link

I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active contributions.
If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 12, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants