fix(bedrock): accept AWS_CONTAINER_CREDENTIALS_FULL_URI in validate_environment

ECS/Fargate supports both RELATIVE_URI and FULL_URI credential delivery.
Only RELATIVE_URI was checked, causing false "missing keys" reports for
FULL_URI setups even though boto3 can authenticate fine.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
mubashir1osmani 2026-02-10 02:22:21 -05:00 committed by Sameer Kankute
parent 6fdfdd27b5
commit f32f8ebf70

View file

@ -6146,6 +6146,7 @@ def validate_environment( # noqa: PLR0915
or "AWS_PROFILE" in os.environ
or "AWS_WEB_IDENTITY_TOKEN_FILE" in os.environ
or "AWS_CONTAINER_CREDENTIALS_RELATIVE_URI" in os.environ # ECS task role
or "AWS_CONTAINER_CREDENTIALS_FULL_URI" in os.environ # ECS/Fargate full URI credential delivery
):
keys_in_environment = True
else: