aws-samples / aws-samples/agents4energy

Audit whether agent/default/agentcore/cdk (hosting-stack.ts, sample-hosting.yml) is now dead code

Open
#152 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
48
Forks
68
PR merge metrics
No merged PRs in 30d

Description

if hosting is deployed exclusively through web/amplify/backend.ts going forward, agent/default/agentcore/cdk/lib/hosting-stack.ts and its supporting files may be unused. Worth confirming and removing if so, to avoid future confusion about which hosting path is authoritative.

---
*Imported from `waltmayf/agentcore-amplify-fullstack`#39 — originally filed by @waltmayf on 2026-07-02. Migrated to open-source repo; cross-references updated post-import.*

Contributor guide

Open the contributing guide

Research direction

Start with web/amplify/backend.ts, then inspect agent/default/agentcore/cdk/lib/hosting-stack.ts, sample-hosting.yml, and their supporting files. Search the repository for references to the CDK hosting path and confirm whether deployment uses only the Amplify backend; done means unused files are removed or their continued role is documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, typescript
Domain
cloud, infrastructure
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.