Skip to content

fix: add missing AgentCore regions to match AWS documentation#833

Merged
jesseturner21 merged 1 commit intoaws:mainfrom
jariy17:fix/add-missing-agentcore-regions
Apr 14, 2026
Merged

fix: add missing AgentCore regions to match AWS documentation#833
jesseturner21 merged 1 commit intoaws:mainfrom
jariy17:fix/add-missing-agentcore-regions

Conversation

@jariy17
Copy link
Copy Markdown
Collaborator

@jariy17 jariy17 commented Apr 14, 2026

Summary

  • Add 6 missing regions to AgentCoreRegionSchema to match the official AWS Bedrock Agentcore documentation: ap-northeast-2, ca-central-1, eu-north-1, eu-west-2, eu-west-3, sa-east-1
  • Update the LLM-compacted schema mirror (llm-compacted/aws-targets.ts) to stay in sync
  • Add a doc link comment above the enum for future maintainers
  • Update tests: new regions added to validRegions, rejected-region examples updated to use actually-unsupported regions

Related Issue

Closes #822 (supersedes #823 which only adds eu-west-2)

Type of Change

  • Bug fix

Test plan

  • npx vitest run src/schema/schemas/__tests__/aws-targets.test.ts — all 38 tests pass
  • npm run build — compiles cleanly (tsc, esbuild, assets)
  • Pre-commit hooks pass (eslint, prettier, secretlint, typecheck)
  • Smoke-tested built artifact: all 6 new regions validate via AgentCoreRegionSchema.safeParse()
  • Verify agentcore deploy with eu-west-2 in config (needs AWS credentials)

Add 6 regions (ap-northeast-2, ca-central-1, eu-north-1, eu-west-2,
eu-west-3, sa-east-1) to AgentCoreRegionSchema to match the official
AWS Bedrock Agentcore supported regions documentation.

Closes aws#822
@jariy17 jariy17 requested a review from a team April 14, 2026 15:33
@github-actions github-actions bot added the size/s PR size: S label Apr 14, 2026
@github-actions
Copy link
Copy Markdown
Contributor

Package Tarball

aws-agentcore-0.8.0.tgz

How to install

npm install https://github.com/aws/agentcore-cli/releases/download/pr-833-tarball/aws-agentcore-0.8.0.tgz

@jariy17 jariy17 changed the title fix: add missing AgentCore supported regions fix: add missing AgentCore regions to match AWS documentation Apr 14, 2026
@jesseturner21 jesseturner21 merged commit 3b60dbe into aws:main Apr 14, 2026
21 of 22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/s PR size: S

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bug: Region validation mismatch between CLI and AWS documentation

2 participants