[PLACEHOLDER] Internalize or Migrate Import of github.com/hashicorp/terraform-plugin-sdk/helper/hashcode from Deprecation #13445
Labels
provider
Pertains to the provider itself, rather than any interaction with AWS.
technical-debt
Addresses areas of the codebase that need refactoring or redesign.
Milestone
Community Note
Description
The functionality provided by github.com/hashicorp/terraform-plugin-sdk/helper/hashcode is deprecated in v1 without replacement as of Terraform Plugin SDK version 1.13.0. We currently have 126 uses of
hashcode.String()
, a simple function to convert a string into an absolute value hash acceptable forTypeSet
attributeSet
functions.While it is not a major issue to keep the old v1 dependency around, it would likely be less confusing longer term to internalize it, especially since it is tiny and may no longer apply to the Terraform Plugin SDK schema handling when
cty
types are the norm in the future.Definition of Done
aws/internal/hashcode
packagegit.luolix.top/hashicorp/terraform-plugin-sdk/helper/hashcode
imports github.com/terraform-providers/terraform-provider-aws/aws/internal/hashcode
.hashibot.hcl
configuration with newdeprecated_import_commenter
behaviorgo mod tidy
andgo mod vendor
no longer report the dependency and removes the code from thevendor/github.com/hashicorp/terraform-plugin-sdk/helper/hashcode
directoryThe text was updated successfully, but these errors were encountered: