https://pulumi.com logo
l

limited-rainbow-51650

04/23/2020, 7:01 PM
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

gentle-diamond-70147

04/23/2020, 7:47 PM
Component resources don't have the concept of data sources. It would be custom code.