careful-mechanic-50246
06/10/2024, 4:07 PMconst remoteExec = new Command(name+"-remote-exec", {
connection: {
host: this.vm.ipv4Addresses.apply(ipv4Address=> ipv4Address[1][0]),
user: "ubuntu",
privateKey: args.sshKey.privateKeyPem
}, create: pulumi.interpolate`${args.rancherCluster.clusterRegistrationToken.nodeCommand} --etcd --controlplane`,
},{parent:this});
What happens is it seems that Pulumi hangs on the interpolate command and eventually times out. Ultimately I end up with an error that "undefined --etcd --controlplane" can't be run on the host.
The complete project is at https://github.com/jeffellin/Pulumi-rancher