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

Frederik Hagelund

08/16/2022, 6:27 PM
How do i point to different aws secrets in dagster_cloud.yml depending if its a branch or full deployment ?
🤖 1
s

sandy

08/16/2022, 6:48 PM
@claire - are you able to help out with this?
c

claire

08/16/2022, 7:56 PM
@ben might know a way to do this
b

ben

08/16/2022, 7:59 PM
Hi Frederik, which agent are you using? You may be able to use the
container_context
configuration options for your code location to do so. e.g. for the Kubernetes agent: https://docs.dagster.io/dagster-cloud/deployment/agents/kubernetes/configuration-reference#per-location-configuration
(You could provide a different container context in production/branch environments by providing a different
dagster_cloud.yaml
for the deploy and branch actions, if using our GH Actions - happy to elaborate more if that’s the path that you’re going right now)
f

Frederik Hagelund

08/16/2022, 8:55 PM
I am using aws and hybrid solution
I am using GH action. Would love a small example of How this could be done
4 Views