Skip to content

Conversation

@faviansamatha
Copy link
Contributor

Description

Previously, when we parse the iam_region parameter in the authentication plugins, we verify it with boto3 as a fail-fast validation check. However, as pointed out by #1041 would cause performance issues as we would call this function every time we connect.

This commit removes that check. The invalid region error will be returned from the aws call by boto3 instead.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@faviansamatha faviansamatha force-pushed the fix/remove-boto3-region-verification branch from d690543 to 524c2db Compare November 19, 2025 23:37
@faviansamatha faviansamatha force-pushed the fix/remove-boto3-region-verification branch from 524c2db to 47835e8 Compare November 24, 2025 16:41
@faviansamatha faviansamatha force-pushed the fix/remove-boto3-region-verification branch from 47835e8 to d056877 Compare November 24, 2025 18:59
@faviansamatha faviansamatha merged commit 11d70fa into main Nov 25, 2025
8 checks passed
@faviansamatha faviansamatha deleted the fix/remove-boto3-region-verification branch November 25, 2025 16:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants