Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions src/schema/schemas/__tests__/aws-targets.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,13 @@ describe('AgentCoreRegionSchema', () => {
'ap-south-1',
'ap-southeast-1',
'ap-southeast-2',
'ap-southeast-5',
'ap-southeast-7',
'ca-central-1',
'eu-central-1',
'eu-north-1',
'eu-south-1',
'eu-south-2',
'eu-west-1',
'eu-west-2',
'eu-west-3',
Expand Down
4 changes: 4 additions & 0 deletions src/schema/schemas/aws-targets.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,13 @@ export const AgentCoreRegionSchema = z.enum([
'ap-south-1',
'ap-southeast-1',
'ap-southeast-2',
'ap-southeast-5',
'ap-southeast-7',
'ca-central-1',
'eu-central-1',
'eu-north-1',
'eu-south-1',
'eu-south-2',
'eu-west-1',

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

The sibling LLM-compacted mirror src/schema/llm-compacted/aws-targets.ts needs the same 4 additions. Per src/schema/llm-compacted/AGENTS.md:

When Zod schemas in schemas/ are updated, manually update the corresponding file here
| aws-targets.ts | schemas/aws-targets.ts |

That file is embedded as text at build time and written to agentcore/.llm-context/ during agentcore init — it's what AI coding assistants read when editing agentcore/aws-targets.json. If left as-is, agents will treat ap-southeast-5/7 and eu-south-1/2 as invalid even though the Zod validator now accepts them.

Please add the same 4 entries to the AgentCoreRegion union in that file (alphabetical order, matching the placement here).

'eu-west-2',
'eu-west-3',
Expand Down
Loading