This message was deleted.
s
This message was deleted.
b
It's essentially the same as in this example: EKS ManagedNodeGroup. The difference is, that I'm creating cluster and node group in separate projects, having an export-import in between.
l
I'm afraid you're not going to be able to do that using only export and stack references. You don't get a "real" Pulumi-managed resource that way.
You'll need to export the ID of the resource in one project, and use that to
get()
the resource in the other project.
The object that comes back from
get()
is a real Pulumi resource (though, read only).
b
Thank you very much! Seems like I misunderstood the export-import functionality. Which
get()
function do you mean exactly? I only found
aws.eks.get_cluster()
but that does not give me the full resource (specifically the
core
attribute is missing). But I also don't want to import the resource to be managed by the second project.