Any Workaround for AWS STS Required by Serverless?

In a close VPC environment where there is no internet, i am not able to connect to STS to retrieve my identity and VPC endpoint for STS is not supported in my region. Is there any workaround like hardcoding the value of my ARN???