stocky-island-3676
11/14/2019, 8:09 PMpulumi.ComponentResourceOptions
? I want to add dependsOn
to a kubernetesOptions
variable defined beforehand.white-balloon-205
11/14/2019, 8:20 PMpulumi.mergeOptions(args.opts, { ignoreChanges: ["tags"] })
Docs here: https://www.pulumi.com/docs/reference/pkg/nodejs/pulumi/pulumi/#mergeOptions
One example here: https://www.pulumi.com/docs/intro/concepts/programming-model/#transformationsstocky-island-3676
11/14/2019, 8:26 PMbored-jackal-93148
12/08/2019, 11:41 PM{ ...args.opts, ...{ ignoreChanges: ["tags"] }}
white-balloon-205
12/08/2019, 11:54 PMmergeOptions
exists - and can avoid subtle issues in code that just does direct object splatting. Definitely encourage using mergeOptions over hand-rolling this sort of thing.