You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[P0] Remove all: Clears local CLI state but leaves resources in AWS account #256
Running remove all clears the CLI's local agentcore.json state, but leaves all resources deployed in the AWS account. This creates an inconsistent state where the CLI thinks there are no resources but they still exist in AWS.
Reporter
davrthur
Category
Functional Bug
Steps to Reproduce
Create and deploy a project with agents, memory, etc.
Run agentcore remove all
Check AWS account - resources still exist
Run agentcore deploy - error "[error] Validate project → No agents defined in project. Add at least one agent with 'agentcore add agent' before deploying"
Expected Behavior
Either:
remove all should delete resources from AWS, or
remove all should clearly state it only removes local configuration and warn about orphaned AWS resources
Actual Behavior
Local state is cleared
AWS resources remain deployed
Running deploy after remove all fails because CLI thinks project is empty
Orphaned resources remain in AWS account
Impact
High - creates orphaned resources and confusing state.
Suggestion
Consider:
Renaming to remove all --local to be explicit about scope
Adding a remove all --aws flag to delete AWS resources
Warning users about orphaned resources when running remove all
changed the title [-]Remove all: Clears local CLI state but leaves resources in AWS account[/-][+][P0] Remove all: Clears local CLI state but leaves resources in AWS account[/+]on Feb 10, 2026
Activity
[-]Remove all: Clears local CLI state but leaves resources in AWS account[/-][+][P0] Remove all: Clears local CLI state but leaves resources in AWS account[/+]