hashicorp / hashicorp/terraform-plugin-sdk
Add 'MapLenBetween' and 'MapKeyNotMatch' validators
- Dominant language
- Go
- Stars
- 485
- Forks
- 244
- Avg merge
- 19h 57m
- Merged PRs (30d)
- 4
Description
### SDK version
```
github.com/hashicorp/terraform-plugin-sdk/v2 v2.3.0
```
### Use-cases
Validators `MapLenBetween` and `MapKeyNotMatch` were added to the AWS provider in https://github.com/hashicorp/terraform-provider-aws/pull/15669. Ideally these should be added to the Plugin SDK as they are not at all specific to that one provider.
### Attempted Solutions
### Proposal
The new validators should be of the `Diagnostics` form similar to other Map validators added for v2.
### References
* https://github.com/hashicorp/terraform-plugin-sdk/pull/304
Contributor guide
Research direction
Start by locating the existing Map validators in the SDK and review the referenced pull request #304 for context. Add MapLenBetween and MapKeyNotMatch in the Diagnostics form used by the other v2 Map validators; no specific files or tests are named in the issue.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100