How to access the output of a CF stack as variables in the serverless.yml file?

For anyone coming from Google to this topic, an answer was provided on this post.