You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#4899 (comment)
I'm pulling this out to track it in a separate issue and to find out if there is any interest in such feature.
The aim is to allow maintainers/developers to mark a specific feature of builtin function or the whole function as deprecated and print warning if user uses the deprecated function or feature of function in the terraform config.
The text was updated successfully, but these errors were encountered:
Although we do not have a specialized feature for reporting warnings for functions specifically, the new diagnostics mechanism introduced for Terraform 0.12 allows for reporting warnings from potentially any codepath, as long as it is plumbed for diagnostics. We don't currently have a specific need for a function to be deprecated, and so we may still have a little such "plumbing" to do when that arises, but we'll close this issue for now since functions are just one possible place that warning messages might be required and the general approach to adding them would now be largely the same regardless of the feature.
(An exception is warnings from providers, which are still very constrained by the existing SDK API and old RPC protocol, but Terraform Core is ready to receive warnings from providers once the SDK is equipped to return them. That's just one part of the general effort to prepare the SDK to use 0.12 features, though.)
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
ghost
locked and limited conversation to collaborators
Aug 19, 2019
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
#4899 (comment)
I'm pulling this out to track it in a separate issue and to find out if there is any interest in such feature.
The aim is to allow maintainers/developers to mark a specific feature of builtin function or the whole function as deprecated and print warning if user uses the deprecated function or feature of function in the terraform config.
The text was updated successfully, but these errors were encountered: