The official docs didn’t give me a fast answer to ...
# getting-started
e
The official docs didn’t give me a fast answer to this elementary question. Do stack references of Pulumi work for resource objects, or are they only for transferring string IDs? Can we create an AWS security group in an "infra" stack and refer to it within a "service" stack directly as a resource object, or do I have to run a lookup query in the latter?
I am still seeking further information on this topic. Would any of you be willing to share your experiences with cross-stack AWS resource sharing?
pulumi stack output
output JSON data when I attempted to store resource objects, but deserialization failed due to something about a namespace of a URN in the JSON data
b
I haven’t seen this in action, you should share a string value and use a getter in most cases