Get region in variable resolver function

I have a function that is calling an AWS service to get some data that needs to be configured in my serverless.yml file.
Using Reference Variables in Javascript Files(link), I am able to do that but I need access to my current region in order to call the service.
Is there any way to get region inside the function?

I have a javascript file called myData.js which is referenced like this in my serverless.yml

    handler:  ./src/sourceLambda
    events: ${file(./myData.js)}


module.exports = async ({options, resolveConfigurationProperty}) => {
// can we access region here
// the serverless parameters coming to this functions are empty