Is it possible for a custom terraform provider to generate an output variable implicitly, i.e. without the terraform user defining an output variable in their .tf file?
A bit more context -- we have a system that invokes user's terraform scripts, and wants to detect the existence of a resource. Is it possible to determine if a resource is used or not without having to parse the user's terraform? The thought was the provider associated with this resource could some how publish its existence via an output variable, or produce some external side-effect.