https://pulumi.com logo
#general
Title
# general
s

stale-minister-93676

04/21/2020, 1:37 PM
So I'm using the Rancher2 Provider and
getCluster
returns a promise. I'm then trying to use
getProject
with cluster id via
cluster.then(cluster => cluster.id)
however I get an error saying
Error: Promises cannot be passed in as arguments to a data source call.
How am I supposed to get around that?
Ok I upgraded to v2.0.0 for everything and that seems to have fixed it.
👍 1