Running into something like this:
$ aws s3 ls
[ERROR] 2023/01/05 01:07:46 could not run plugin AWS CLI: failed to provision credentials, encountered error(s):
region is required for the AWS Shell Plugin MFA workflow: set 'default region' in 1Password or set the 'AWS_DEFAULT_REGION' environment variable yourself
$ op plugin inspect aws
Credential type: Access Key
✔ Alias for "aws" configured
✔ Aliases sourced (/home/$user/.config/op/plugins.sh)
✔ "AWS $OrgName: $User" (vault: "$Vault")
Configured for current terminal session.
When you make a call, it hangs and then generates that output.
We generally don't set the default region when configuring aws-cli for any profile.
And even if you run:
$ aws configure set region us-west-2 --profile $profile
the same error is triggered.
Can't seem to find any help resource that has anything to say about it.
1Password Version: 8.9.10
Extension Version: Not Provided
OS Version: Ubuntu (Pop!OS 22.04)
Browser: Not Provided