any complex examples with typescript out there? Like classes, interfaces and the like? Just need some advice on how to set it up in an enterprise environment. going beyond the simple index.ts examples ;)
I’m pretty happy using `ComponentResource`s for encapsulating things instead of plain classes because eventually you’ll pass down some `pulumi.Output`s.
rhythmic-finland-36256
12/16/2019, 5:40 PM
Besides that I also use several stacks and `StackReference`s to avoid putting too many resources into one project/stack that don’t really have a 1:1 relationship. But this takes some caution to not end up in exporting/importing tens of properties just to get some association right (good example here is AKS, DNS, Service Principals, Resource Group Names required for the LoadBalancer public IP).