sorry, having a hard time understanding, can you show some psuedo code that might help?
s
sticky-jelly-69198
09/24/2021, 7:05 PM
Say I have
const someString = "abc"
and would like to register it as custom resource, e.g Type: custom, Name: some-string, and it will hold that value "abc" and would be visible in Resources tab, as: Properties -> Name : Value in the console.
b
billowy-army-68599
09/24/2021, 7:29 PM
hmm not familiar with this I'm afraid, hopefully someone else can weight in
👍 1
c
crooked-pillow-11944
09/24/2021, 9:58 PM
In Python I export an output and then refer to it in another stack using:
Copy code
pulumi.export('someString', pulumi.Output('abc'))
crooked-pillow-11944
09/24/2021, 9:59 PM
I can't think of a good reason to put a string in an output and refer to it in the same stack
No matter how you like to participate in developer communities, Pulumi wants to meet you there. If you want to meet other Pulumi users to share use-cases and best practices, contribute code or documentation, see us at an event, or just tell a story about something cool you did with Pulumi, you are part of our community.