hashicorp / hashicorp/terraform-plugin-testing
Add plan check for unset value
Open
enhancement
- Dominant language
- Go
- Stars
- 68
- Forks
- 22
- Avg merge
- 2d 12h
- Merged PRs (30d)
- 1
Description
### terraform-plugin-testing version
```
v1.14.0
```
### Use cases
I want to validate that a value hasn't been set in the plan.
### Attempted solutions
None of the existing methods work, so I'd need to write a custom check function.
### Proposal
please add support for `plancheck.ExpectNoValue("resource.instance", "attribute")`. This is a specific requirement for the plan check, as the state check uses the schema.
### References
Contributor guide
Assessment
This issue has not been assessed yet.