Could not find key `stdout` under actions.run.init...
# 🌱|help-and-getting-started
m
I'm trying to get the output of a run action, which is just a bash script that writes a string to stdout with 'echo`. I'm trying to get this output in my manifest template file in my deploy action and set it as an environment variable but I'm not able to.
Copy code
garden.io/service: incident-...): Could not find key stdout under actions.run.initialize-mongodb.outputs. Available keys: (none).
────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────

Invalid template string (apiVersion: apps/v1\nkind: Deployment\nmetadata:\n  name: service\n  labels:\n    garden.io/service: service\n  annotations:\n    garden.io/mode: default\n    garden.io/service: incident-...): Could not find key stdout under actions.run.initialize-mongodb.outputs. Available keys: (none).
I managed to find a workaround that avoids needing to do this at all, but I still think that this is likely not working as intended, not sure
Workaround doesn't work lol, it would be nice to be able to access the output of this script
c
Hi @most-tent-39133, could you please post your actions configuration? What you described should be possible but it's a bit hard to debug without seeing the config itself. πŸ˜‰