mirror of
https://github.com/gravitational/teleport.git
synced 2026-08-30 17:45:43 +08:00
e54bfb9ab7
* enforce region validation on all AWS config loading Replace direct uses of `github.com/aws/aws-sdk-go-v2/config.LoadDefaultConfig` with the internal `lib/cloud/aws/config.LoadDefaultConfig` wrapper, which validates any explicitly requested AWS region before use. Enforces this via a new forbidigo linter rule. Signed-off-by: Tiago Silva <tiago.silva@goteleport.com> * Apply suggestions from code review Co-authored-by: Nic Klaassen <nic@nicklaassen.ca> * fix unit tests * include underscores and uppercase letters * add ConfigureRegion --------- Signed-off-by: Tiago Silva <tiago.silva@goteleport.com> Co-authored-by: Nic Klaassen <nic@nicklaassen.ca>