late-airplane-27955
10/23/2024, 7:19 PMvar cluster = new ManagedCluster($"{clusterName}-", new ManagedClusterArgs
{//lots of code})
var lookupManagedCluster = GetManagedCluster.Invoke(new GetManagedClusterInvokeArgs
{
ResourceGroupName = rgName,
ResourceName = cluster.Name
});
var lookup2 = GetManagedCluster.Invoke(new GetManagedClusterInvokeArgs
{
ResourceName = lookupManagedCluster.Apply(c => c.Name),
ResourceGroupName = rgName,
});
why would I not be able to just pipe the lookupManagedCluster into the lookup2 here? Why does Pulumi think that's an invalid thing, when cluster.Name
is also just an output? I've read the input/output documentation 100 times, but this is still very confusing to melate-airplane-27955
10/23/2024, 7:22 PMcluster.Name
seems to be an Output
, while when using GetManagedCluster
, the entire response is an Output