mirror of
https://github.com/opentffoundation/opentf.git
synced 2025-12-25 01:00:16 -05:00
Address review comments
Co-authored-by: James Humphries <James@james-humphries.co.uk> Co-authored-by: Ilia Gogotchuri <ilia.gogotchuri0@gmail.com> Signed-off-by: Christian Mesh <christianmesh1@gmail.com>
This commit is contained in:
@@ -22,6 +22,7 @@ import (
|
||||
// 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/plugin/validation/write_only.go
|
||||
func WriteOnlyAttributes(schema *configschema.Block, v cty.Value, resAddr string) (diags tfdiags.Diagnostics) {
|
||||
if !schema.ContainsWriteOnly() {
|
||||
return diags
|
||||
|
||||
Reference in New Issue
Block a user