You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[aws/sts_provisioner.go] Don't favor on default_region
Default region should only be used to fill in a region when
awsConfig.Region doesn't exist (and set it accordingly, but not be the
sole determinant on if there is a difference. It should defer to what
is already does in the `else if` later, where it sets it if it isn't
blank, but doesn't error.
Right now, it will error if `default region` is set in the 1Password
item, but in reality, it should only do that if `region` (aka:
`hasRegularRegion`) is set.
This updates this logic to reflect that.
returnfmt.Errorf("your local AWS configuration (config file or environment variable) has a different default region than the one specified in 1Password")
0 commit comments