bright-orange-69401
10/20/2023, 2:55 PMesc env open --format dotenv
corresponds to something we’ve been doing time and again in Pulumi : scripting to get a dotenv that our devs can use locally
Before that, we were copy/pasting .env files on Slack which isn’t great... and most of the time our devs don’t have up-to-date .env files on projects they aren’t actively working on so having a central point of truth was nice
My question is the following : esc
does replace fetching secrets from a Pulumi stack config, but it can’t obtain stuff from Pulumi’s stack output, can it ?
It would be nice to be able to have stuff like database credentials, domains, etc. in the dotenv created by esc
white-balloon-205
but it can’t obtain stuff from Pulumi’s stack output, can it?Not yet - but soon! This is tracked in https://github.com/pulumi/esc/issues/90.