rectalogic
03/30/2023, 8:56 PMdagster-cloud workspace add-location ...
) that applies to all images - so I can specify the container_context
ecs secrets, env vars, task_role_arn
etc. Otherwise users need to keep track of all these AWS ARNs each time they add a code location. When I provision my agent via AWS CDK, I have access to all of those so would like to register that info once, for all code locations.
https://docs.dagster.io/dagster-cloud/deployment/agents/amazon-ecs/configuration-reference#per-location-configurationdaniel
03/30/2023, 9:07 PMrectalogic
03/30/2023, 9:14 PMenv_vars
and secrets
like the locations yaml?rectalogic
03/30/2023, 9:18 PMdaniel
03/30/2023, 9:19 PMrectalogic
03/30/2023, 9:19 PMdaniel
03/30/2023, 9:21 PMrectalogic
04/03/2023, 5:15 PMagent_token
is plaintext in the cloudformation config and dagster.yaml
. Is there a way to have dagster retrieve this from an AWS secret? Or can it be left out of the yaml and retrieved from an environment variable?daniel
04/03/2023, 5:16 PMdaniel
04/03/2023, 5:18 PMagent_token:
env: YOUR_ENV_VAR_NAME_HERE
will make it pull the value from that env var instead of the raw valuerectalogic
04/03/2023, 5:18 PM