https://pulumi.com logo
Title
g

gifted-island-55702

04/02/2021, 8:48 AM
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

billowy-army-68599

04/02/2021, 5:25 PM
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

gifted-island-55702

04/06/2021, 7:58 AM
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.