Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WriteOnlyAttributes ¶
func WriteOnlyAttributes(schema *configschema.Block, v cty.Value, resAddr string) (diags tfdiags.Diagnostics)
WriteOnlyAttributes checks that the write-only attributes are not returned back with an actual value. This particular validation does not require to return the diags right away, but we can leave the flow move on. The diagnostics generated by this validation ensure that the provider works correctly and there is no issue in the provider SDK when it comes to the write-only attributes. Returning those with actual values can create unknown behavior leading to possible confidential information exposure. NOTE: Keep this in sync with the equivalent in internal/plugin6/validation/write_only.go
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.