I really like the graph projection, both in the ui...
# general
m
I really like the graph projection, both in the ui and the terminal. But I haven’t yet found documentation on how to easily create “parent aggregators”, something like a dummy component. Is there such a default component? So far I’ve been doing this (python), but I have a feeling it is not best practice:
Copy code
from pulumi.resource import ComponentResource

class AggregatorComponent(ComponentResource):
    def __init__(self, *args, **kwargs) -> None:
        super(AggregatorComponent, self).__init__(t="aggregator", *args, **kwargs)
and using it like so
Copy code
project_aggregator = AggregatorComponent(name=project_id)
opts = ResourceOptions(parent=dataset_aggregator)
DemographyDataset(opts=opts)
FunctionsDataset(opts=opts)
...
Is there a better way to do this than my homemade
AggregatorComponent
?