terraform-provider-hcloud icon indicating copy to clipboard operation
terraform-provider-hcloud copied to clipboard

[Feature]: Properly show warnings to the user through Diagnostics

Open apricote opened this issue 1 year ago • 1 comments

What whould you like to see?

Right now when we want to warn the user of some upcoming changes and/or breaking changes we emit a warning log message. This is not surfaced to the user by default, they need to explicitly enable logs (TF_LOG=WARN) to see these messages.

  • When the image used by a server is deprecated (source)
  • (Soon) When the server type used by a server is deprecated (source)

The proper way to handle this is to send back a list of Diagnostics that each can be a warning or an error. These are properly rendered and shown by Terraform.

apricote avatar Jun 12 '23 12:06 apricote

This issue has been marked as stale because it has not had recent activity. The bot will close the issue if no further action occurs.

github-actions[bot] avatar Oct 09 '23 12:10 github-actions[bot]