[PLACEHOLDER] Internalize or Migrate Import of github.com/hashicorp/terraform-plugin-sdk/helper/mutexkv from Deprecation #13446
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/mutexkv is deprecated in v1 without replacement as of Terraform Plugin SDK version 1.13.0. We currently have 20 uses of
mutexkv.Lock()
.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 or potentially have it migrated to its own repository, especially since it is small.
Definition of Done
aws/internal/mutexkv
packagegithub.jparrowsec.cn/hashicorp/terraform-plugin-sdk/helper/mutexkv
imports github.com/terraform-providers/terraform-provider-aws/aws/internal/mutexkv
.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/mutexkv
directoryThe text was updated successfully, but these errors were encountered: