Skip to content

Commit 03bf2f5

Browse files
authored
mark secret_key in secure_json_data as sensitive (#78)
As it contain sensitive information. NOTE: currently there is a bug in Terraform, which ignores `Sensitive: true` on fields with type List. See https://github.com/hashicorp/terraform/issues/15115 for details. Signed-off-by: Andrei Krasnitski <[email protected]>
1 parent afeccdb commit 03bf2f5

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

grafana/resource_data_source.go

+3-2
Original file line numberDiff line numberDiff line change
@@ -107,8 +107,9 @@ func ResourceDataSource() *schema.Resource {
107107
Required: true,
108108
},
109109
"secret_key": {
110-
Type: schema.TypeString,
111-
Required: true,
110+
Type: schema.TypeString,
111+
Required: true,
112+
Sensitive: true,
112113
},
113114
},
114115
},

0 commit comments

Comments
 (0)