You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: website/docs/plugin/framework/resources/write-only-arguments.mdx
+7Lines changed: 7 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -53,6 +53,13 @@ retrieving values from configuration.
53
53
54
54
## PreferWriteOnlyAttribute Validators
55
55
56
+
<Note>
57
+
58
+
These validators will produce persistent warnings for practitioners on every Terraform run as long as the specified non-write-only attribute
59
+
has a value in the configuration. The validators will also produce warnings for users of shared modules who cannot immediately take action on the warning.
60
+
61
+
</Note>
62
+
56
63
The `PreferWriteOnlyAttribute()` validators available in the [`terraform-plugin-framework-validators` Go module](https://pkg.go.dev/github.com/hashicorp/terraform-plugin-framework-validators)
57
64
can be used when you have a write-only version of an existing attribute, and you want to encourage practitioners to use the write-only version whenever possible.
0 commit comments