Morning all, I am not sure if this is the best p...
# typescript
Morning all, I am not sure if this is the best place to ask this question but since I am using typescript it seems as good a place as any. I am trying to use the rancher2 provisioner to create a cluster and then get the join command to run on the nodes I create with the proxmox provisioner. The issue I am having is that the join command never seems to be populated. My understanding is that pulumi.interpolate should wait for the resource to be created and the value to be populated.
Copy code
const 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`,
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