https://dagster.io/ logo
#ask-community
Title
# ask-community
b

Bala Samynathan

05/30/2023, 3:25 PM
How would i dynamically pick resources based on launchpad config file ?
c

claire

05/30/2023, 10:35 PM
Hi Bala. It's currently not possible to dynamically pick resources. Wondering what your use case is for this? If it's to choose different resources per environment, I would recommend something like this: https://docs.dagster.io/guides/dagster/transitioning-data-pipelines-from-development-to-production#production Another option would be to create a different job for each resource, so you can choose when to execute with one resources versus another.
👍 1
b

Bala Samynathan

05/30/2023, 10:37 PM
Thanks. Yes our use case is quite similar.
can configure_at_launch() do something similar ?
c

claire

06/07/2023, 5:52 PM
I believe
configure_at_launch
is used for applying runtime config to a resource that has already been bound to the job/asset, so it isn't possible to dynamically choose which resource to use here. Though you can configure your resource to have different behavior at runtime using
configure_at_launch
ty spinny 1