Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
apricote opened this issue Jun 12, 2023 · 1 comment
Open

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

apricote opened this issue Jun 12, 2023 · 1 comment

Comments

@apricote
Copy link
Member

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.

@github-actions
Copy link

github-actions bot commented Oct 9, 2023

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 github-actions bot added the stale label Oct 9, 2023
@apricote apricote added pinned and removed stale labels Oct 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant