Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
137583: roachprod: update `haveCredentials` in AWS provider to prefer SSO r=darrylwong,shailendra-patel a=srosenberg Previously, `haveCredentials` (in `aws.go`) would check for existence of `~/.aws/credentials` or `AWS_ACCESS_KEY_ID`. When neither exists, the AWS provider is disabled. As of recently, non-CI uses of roachprod have been migrated over to SSO. Thus, we now check for existence of `~/.aws/config` or `AWS_PROFILE`. When neither exists, we fall back to the previous logic (see above). Further, a deprecation warning is displayed. Epic: none Release note: None Co-authored-by: Stan Rosenberg <[email protected]>
- Loading branch information