sparse-intern-71089
02/25/2021, 6:02 AMbillowy-army-68599
wide-crayon-4093
02/25/2021, 6:07 AMbillowy-army-68599
wide-crayon-4093
02/25/2021, 6:08 AMwide-crayon-4093
02/25/2021, 6:10 AMfunc NewVpc(ctx *pulumi.Context, name string, args Args, opts ...pulumi.ResourceOption) (*Vpc, error) {
func NewSubnet(ctx *pulumi.Context, *Vpc, name string, args Args, opts ...pulumi.ResourceOption) (*Vpc, error)
or should NewSubnet be a 'method' of vpc? i think i'm starting to get it by forming the questionbillowy-army-68599
NewVpc
is just the function that creates the resources in your component, it gets called when you instantiate your component