# ask-community

Noam Jacobson

05/24/2023, 8:37 PM
I have been breaking my head over this, if anyone could help I would appreciate it. I have Dagster running on ECS. I configured dagster.yaml to capture secrets from AWS Secret Manager. I then try to use these secrets in my Definition to set the resources such as SlackResource. I am using EnvVar. On ECS when I attempt to run a job I am receiving "You have attempted to fetch the environment variable "SLACK_TOKEN" which is not set." Is what I am attempting to do a available solution?
I am using this as reference: It says that they should be set as environmental variables but it doesnt seem to be working