Skip to content

feat(gateway): add update commands - #1900

Draft
aidandaly24 wants to merge 2 commits into
feat/gateway-create-cudfrom
feat/gateway-update-cud
Draft

feat(gateway): add update commands#1900
aidandaly24 wants to merge 2 commits into
feat/gateway-create-cudfrom
feat/gateway-update-cud

Conversation

@aidandaly24

@aidandaly24 aidandaly24 commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

Summary

  • add Gateway, Target, and Rule update commands with explicit set and clear semantics
  • merge replacement-style Gateway and Target updates from current service state
  • add new CLI-owned Target role permissions before update
  • remove obsolete Target permissions only after a successful update
  • leave the additive policy in place when update outcome is uncertain
  • bypass IAM reconciliation for customer-managed Gateway roles

Stack

Testing

  • bun test src/core/gateway.update.test.ts src/core/gatewayExecutionRole.test.ts src/handlers/gateway/gateway.update.test.tsx src/handlers/gateway/gateway.test.tsx (55 pass)
  • source-scoped TypeScript, lint, and formatting checks
  • live AWS test with AWS_PROFILE=deploy: updated one Target from Lambda A to Lambda B and confirmed the role policy retained B and removed A

@github-actions github-actions Bot added the size/xl PR size: XL label Aug 4, 2026
@github-actions github-actions Bot added agentcore-harness-reviewing AgentCore Harness review in progress size/xl PR size: XL and removed size/xl PR size: XL agentcore-harness-reviewing AgentCore Harness review in progress labels Aug 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/xl PR size: XL

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant