question about secrets loading: - right now i hav...
# deployment-ecs
k
question about secrets loading: • right now i have a slack token (
SLACK_TOKEN
) stored in
Secrets Manager
• i setup the
secrets_tag
for my ecs run launcher, and have added the tag to my slack token • i did the
secrets
block configuration in my
docker-compose
file • in my daemon task's logs, for the secrets container, i see:
inject Secret "SLACK_TOKEN" info /run/secrets/SLACK_TOKEN
• however, when i try to use
SlackResource(token=EnvVar("SLACK_TOKEN"))
i get an error,
You have attempted to fetch the environment variable "SLACK_TOKEN" which is not set. In order for this execution to succeed it must be set in this environment.
from the sensor's logs (using
@run_failure_sensor
) is there something i'm missing? can i not use secrets from SSM for resources used by a sensor?