How do i point to different aws secrets in dagster...
# ask-community
f
How do i point to different aws secrets in dagster_cloud.yml depending if its a branch or full deployment ?
🤖 1
s
@claire - are you able to help out with this?
c
@ben might know a way to do this
b
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
I am using aws and hybrid solution
I am using GH action. Would love a small example of How this could be done