Uh oh!
There was an error while loading. Please reload this page.
feat: add resource tagging support - #564
Conversation
10a7dcb to
716db40CompareCoverage Report
|
716db40 to
25d2d4eCompare25d2d4e to
0f3095dCompareAdd `agentcore tag` command for managing AWS resource tags on agents, memories, and gateways. Supports project-level default tags (inherited by all resources) and per-resource tag overrides. - Add TagsSchema to project, agent, memory, and gateway schemas - Add `tag list|add|remove|set-defaults|remove-defaults` subcommands - Auto-tag new projects with `agentcore:created-by` and `agentcore:project-name` - Add unit tests for schema validation and tag actions - Add integration tests for tag command round-trip
0f3095d to
e8eddc8CompareUh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
- Remove unused constants.ts (TAGGABLE_RESOURCE_TYPES was duplicated from types.ts and never imported) - Replace silent guard returns in integ tests with explicit assertions - Validate tag key/value against TagKeySchema and TagValueSchema before writing in addTag and setDefaultTag - Add unit tests for key/value validation (empty key, key > 128 chars, value > 256 chars)
- Add Unicode character validation to TagKeySchema and TagValueSchema per AWS tag restrictions (letters, digits, whitespace, _ . : / = + - @) - Improve removeTag error when key is inherited from project defaults: now hints to use "tag remove-defaults" instead - Add tests for character restrictions and updated error messages
Uh oh!
There was an error while loading. Please reload this page.
This reverts commit dd9716c.
Summary
agentcore tagcommand with subcommands:list,add,remove,set-defaults,remove-defaultsTagsSchemato project, agent, memory, and gateway schemas (optional, backward compatible)agentcore:created-by: agentcore-cliandagentcore:project-name: <name>Companion PR: https://github.com/aws/agentcore-l3-cdk-constructs/pull/87
Test plan