Skip to content

Fall back to USEast1 aws region when region is not set - #2101

Merged
grace-rehn merged 1 commit into
release/2026.2from
grace/aws-region-fallback
Aug 5, 2026
Merged

Fall back to USEast1 aws region when region is not set#2101
grace-rehn merged 1 commit into
release/2026.2from
grace/aws-region-fallback

Conversation

@grace-rehn

@grace-rehn grace-rehn commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

⚠️ Does this change require a corresponding Server Change?
⚠️ If so - please add a "Requires Server Change" label to this PR!

Background

AWS OIDC accounts stopped working for Kubernetes API targets on EKS after the AWS SDK v4 upgrade in 2026.2, with health checks and deployments both failing with Cannot find supported authentication schema. A Kubernetes API target has nowhere to set an AWS region, so Calamari falls back to the aws-global region which fails for unsigned STS requests.

Results

  • Fixes health checks and deployments for Kubernetes API targets using AWS OIDC accounts, and ECS targets with a blank region.
  • Falls back to us-east-1 instead of aws-global. A configured region still takes precedence.
  • No variables are contributed, so per-step regions are untouched.
  • Verified on an EKS cluster in ap-southeast-2 with no region set: health check, raw YAML deployment, access-key account and assume-role.

Fixes HPY-1542

Before

Screenshot 2026-08-05 at 10 35 13 AM

After

Screenshot 2026-08-05 at 10 57 58 AM

@grace-rehn
grace-rehn requested a review from a team August 5, 2026 04:33

@HuyPhanNguyen HuyPhanNguyen left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@grace-rehn
grace-rehn merged commit dfce141 into release/2026.2 Aug 5, 2026
31 checks passed
@grace-rehn
grace-rehn deleted the grace/aws-region-fallback branch August 5, 2026 04:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants