After searching the term “get region using Boto3” several times over the last year, I finally found the “secret” inside the botocore library. With IMDSv2 rightly becoming the standard, it felt necessary to not want to maintain changes over time as security standards change. The Secret Apparently, in the botocore library, there…