When creating a resource grafana_data_source and using the parameter secure_json_data_encoded to set, for example, a database password, that value is stored in plain text in the Terraform state. In that case, the best practice would seem to be to insert the password manually after the resource has been created with the tool. If the password would not be stored in state, it could be set from Terraform code without risk.
Feature Request
When creating a resource
grafana_data_source
and using the parametersecure_json_data_encoded
to set, for example, a database password, that value is stored in plain text in the Terraform state. In that case, the best practice would seem to be to insert the password manually after the resource has been created with the tool. If the password would not be stored in state, it could be set from Terraform code without risk.