sparse-intern-71089
02/12/2020, 5:25 PMable-crayon-21563
02/12/2020, 5:28 PMConfigFile to the mix.gorgeous-egg-16927
02/12/2020, 5:58 PMable-crayon-21563
02/12/2020, 5:59 PMable-crayon-21563
02/12/2020, 6:02 PMpulumi.ComponentResource to wrap the ConfigFile. i.e. provider is set on the ComponentResource , and the ConfigFile simply uses parent. Could that be it?gorgeous-egg-16927
02/12/2020, 6:02 PMgorgeous-egg-16927
02/12/2020, 6:03 PMable-crayon-21563
02/12/2020, 6:04 PMgorgeous-egg-16927
02/12/2020, 6:10 PMexport class TestComponentResource extends pulumi.ComponentResource {
constructor(name: string,
opts: pulumi.ComponentResourceOptions = {}) {
super("test:kubernetes-ts:TestComponentResource", name, {}, opts);
new k8s.yaml.ConfigFile("guestbook",
{file: "guestbook.yaml"}, {parent: this}
);
}
}
new TestComponentResource("test", {provider: gkeCluster.provider});gorgeous-egg-16927
02/12/2020, 6:14 PMable-crayon-21563
02/12/2020, 6:16 PMparent set on the provider; I had dependsOn.gorgeous-egg-16927
02/12/2020, 6:17 PM