If I create a custom `ComponentResource` abstracti...
# general
l
If I create a custom
ComponentResource
abstracting a set of regular resources, I use this abstraction in the stacks where the resources need to be created. But I also have stacks where the abstracted resources need to be used as inputs. Does Pulumi allow to implement a data source for my ComponentResource that provides an abstraction for the set of data sources?
… or would this all be custom code?
g
Component resources don't have the concept of data sources. It would be custom code.