hashicorp / hashicorp/terraform-plugin-sdk
StateFunc cannot be used to set a string to an empty value
Open
bug
- Dominant language
- Go
- Stars
- 485
- Forks
- 244
- Avg merge
- 19h 57m
- Merged PRs (30d)
- 4
Description
### SDK version
```
❯ go list -m github.com/hashicorp/terraform-plugin-sdk/...
github.com/hashicorp/terraform-plugin-sdk/v2
```
### Relevant provider source code
Please see #770 - which adds a test to document the problem.
Contributor guide
Research direction
Start with the test added by issue #770 and search the SDK for StateFunc handling of string values. Run the referenced test to reproduce the empty-value behavior; done means the test passes while preserving the documented StateFunc behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go, terraform
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100