10/27/2022, 6:23 PM
I’ll raise a ticket about this also. We have run into what seems like a showstopper of a problem, at least for us. New regions are being provisioned with session tokens v2 and this breaks our aws.Provider() with the following errors:
Error: failed to refresh cached credentials, operation error STS: AssumeRole, failed to sign request: failed to retrieve credentials:
raise invoke_error
    Exception: invoke of aws:index/getCallerIdentity:getCallerIdentity failed: invocation of aws:index/getCallerIdentity:getCallerIdentity returned an error: 1 error occurred:
    	* error configuring Terraform AWS Provider: no valid credential sources for Terraform AWS Provider found.
I know there is a newer aws_native library which may fix this, we’re not using that. How do we use new regions?
This seems like a very major problem with newer regions. Is this really not something anyone is encountering? Am i doing something different?