Env vars with xdn run

Can I use XDN Environment variables with the xdn run command?

Not yet, but we are working on a command that will allow you to pull down the env vars into a .env file, something like:

xdn pull-env --environment=production .env

We might also do something like this, to run once with the vars from a specific environment:

xdn run --environment=production
2 Likes

An internal ticket has been created to track this. Ticket: XDN-6438

@mark.brocato xdn pull-env looks very promising. We are having similar issue when build is happening on 3rd party service, which does not have ENV vars from XDN. When pull-env is expected to be released? It there any other workaround for this currently?