Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[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.
- Loading branch information