Hi all,

I am deploying an image to AWS ECS using task definitions. In order for me 
to inject the environment variables from Go into the task definition, I 
require all the environment variables that Go sets when a pipeline is 
running.

For instance:
[image: envvars.png]
I want to get all those environment variables. I am calling a bash script 
after env vars are set above. I have tried using linux' 
"/proc/<pid>/environ" which works successfully, but it gets other system 
process variables, that I would have to filter for, which can create a 
brittle deployment process, and comes with maintenance overhead.

How do I extract those environment variables that Go CI/CD sets as pictured 
above?

Thank you.

-- 
You received this message because you are subscribed to the Google Groups 
"go-cd" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/go-cd/e944146e-e37f-4316-839d-65a06dc4f003n%40googlegroups.com.

Reply via email to