Open lordjavac opened 4 years ago
When multiple branches have environment defined in .elasticbeanstalk/config.yml the result is a multiline string for the aws_eb_env.
This would be easy to fix by changing the manner in which we get the environment, but it would introduce a dependency on the eb command-line tool.
eb list | grep '^\*' | awk '{print $2}'
This yields the current environment, if there is one. It also will not yield one if there isn't one for the current branch.
Describe Your Issue
When multiple branches have environment defined in .elasticbeanstalk/config.yml the result is a multiline string for the aws_eb_env.
Have you tried to debug or fix it?
This would be easy to fix by changing the manner in which we get the environment, but it would introduce a dependency on the eb command-line tool.
This yields the current environment, if there is one. It also will not yield one if there isn't one for the current branch.
Environment Information