This message was deleted.
# typescript
s
This message was deleted.
l
Storing it in a cloud vault is a viable option and makes it visible to tools and services that don't have access to the build or Pulumi CLI. But if your migration script is being called from somewhere with access to the Pulumi CLI, you can export the value from the Pulumi program, and call
pulumi stack output
to get those exported values
🙌 1
🙏 1
s
export const connectionName = ...
is how you create a stack output.
pulumi stack output connectionName --secret
will get you the value from the command line (if it contains secrets). If it's a secret, storing in Secrets Manager is also a valid approach.
🙌 1
🙏 1
Usually it's a good sign when Paul and I agree. 😉
🙌 1
l
Yep. Last time we didn't agree, there was a global financial crisis. That didn't go well.
🤣 1
s
lol
I don't remember that per se, but I'll believe it. 😉
l
😉
l
Thanks @little-cartoon-10569 and @stocky-restaurant-98004! I will give it a try with using
pulumi stack output
👍 1