-
Notifications
You must be signed in to change notification settings - Fork 16
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
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]>
There was a problem hiding this 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 |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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.
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 |
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. |
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.
Changelog
Sourced from github.com/hashicorp/terraform-plugin-sdk/v2's changelog.
Commits
6b58e7f
Update changelogd419eaa
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)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)