Is it impossible to use variables on provider?

Hey, I found that my deploy failed every time, and came to the conclusion that it was because I was using variables in the provider section of serverless.yml. Is it possible to do it in some way? I want this so that I can have a config file which I can reference on every service for a multi-service repo.