Hi! I'm working on a component resource (I'm still...
# general
g
Hi! I'm working on a component resource (I'm still learning) and I'm wondering what the 'remote' flag means for ComponentResource (https://www.pulumi.com/docs/reference/pkg/nodejs/pulumi/pulumi/#ComponentResource-constructor)? (I also see this constructor param for the Resource class). How should I decide if it needs to be true or false?
b
I always set to this to false, but will get a better answer for you
Hey, got an answer from @lemon-agent-27707!
remote=true will be set by SDKs for multi-language components. If users are just implementing program-level components they should not set this field.
g
Thank you @billowy-army-68599 and @lemon-agent-27707! So I guess this is an internal flag and I shouldn't touch it in my code.