https://dagster.io/ logo
#dagster-support
Title
# dagster-support
a

Alejandro DE LA CRUZ LOPEZ

06/21/2021, 2:57 PM
Hello! Is there the possibility of sending several environment values to a resource? Using StringSource I am only able to pass one from what I have tried. Thank you!
d

daniel

06/21/2021, 3:23 PM
Hi Alejandro - if you’re writing your own resource you could add your own logic that does this, but StringSource doesn’t support it out of the box unfortunately
b

Brian Abelson

06/21/2021, 3:56 PM
resources can take multiple configuration values, each of which can be a StringSource. i do this in most of my custom resources.
1
d

daniel

06/21/2021, 3:59 PM
Right, sorry, I should clarify. ^ what’s said just above is correct for multiple fields in a resource. But if you have one field that’s a list of strings, you can’t use environment variables to provide that list of strings
2 Views