Let's use existing helper functions to ensure consistent Diagnostic entries in the provider. We can also write new helper functions where needed for more consistency and less repetition.
Note that some diagnostic entries may not need to be replaced with helper functions, specifically those that are single-use and not repeated.
Acceptance criteria
[x] Diagnostic entries use helper functions for consistency (where it makes sense)
Summary
https://developer.hashicorp.com/terraform/plugin/framework/diagnostics#consistent-diagnostic-creation
Let's use existing helper functions to ensure consistent Diagnostic entries in the provider. We can also write new helper functions where needed for more consistency and less repetition.
Note that some diagnostic entries may not need to be replaced with helper functions, specifically those that are single-use and not repeated.
Acceptance criteria