agentcore init command + portability gaps: aws-targets.json gitignore guidance + CDK re-scaffold support
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 5/5
- 预计耗时
- 一周以上
- 新手友好度
- 35/100
- Issue 类型
- 功能
- 描述清晰度
- 需要澄清
- 活跃度
- 冷清
- 技术栈
- aws, typescript
- 领域
- cli, cloud, infrastructure
调研方向
先阅读 agentcore.json、aws-targets.json 和 agentcore/cdk/ 目录相关的行为,然后跟踪 agentcore deploy 和 agentcore create 命令。明确重新生成脚手架时应如何处理现有代码和配置。满足文档中规定的验收标准即表示完成:来自一个 AWS 账户的 agentcore.json 可以通过一条 agentcore deploy 命令部署到新账户中。
由索引模型根据 Issue 内容生成。
描述
Description
I'm not finding an easy way to create a project using agentcore toolkit cli and making it portable. I've found a few gaps such as:
aws-targets.jsonhardcodes account + region — if you clone the repo elsewhere without it,agentcore deployfails. But the file is environment-specific so it shouldn't be committed with real values.agentcore/cdk/is auto-generated — if missing, deploy fails ("no CDK project"), but if you runagentcore createto regenerate it, it refuses because the directory isn't empty.
There's noagentcore initthat re-scaffolds just the infrastructure around existing code/config.
It would be very useful to have a way to have portable agentcore.json files and a mechanism to recreate the CDK project from scratch. This can also help with updating CDK to newer versions when agentcore cli is updated.
Acceptance Criteria
- An
agentcore.jsoncreated to run in an AWS account can be deployed in a new account with just one command:agentcore deploy
Additional Context
No response
- 主要语言
- TypeScript
- 星标
- 298
- 派生
- 99
- 平均合并
- 17 小时 26 分钟
- 30 天内合并 PR
- 241
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
aws/agentcore-cli 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 70/100
aws/agentcore-cli#2395 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 75/100
aws/agentcore-cli#2392 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
aws/agentcore-cli#2176 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
aws/agentcore-cli#2140 ·
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 78/100
aws/agentcore-cli#2076 ·
维护者通常 1 天内回复
查看 aws/agentcore-cli 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 85/100
siyuan-note/siyuan#20040 ·
维护者通常 1 天内回复
-
enhancement
难度 2/5 1-3 小时 新手友好度 72/100
RunestoneInteractive/rs#1574 ·
维护者通常 2 天内回复
-
难度 2/5 1-3 小时 新手友好度 68/100
remotion-dev/remotion#11901 ·
维护者通常 1 天内回复
-
Poll constructor throws for an uncached channel while resolving a message context-menu interaction未关闭bug need repro packages:discord.js
难度 2/5 1-3 小时 新手友好度 82/100
discordjs/discord.js#11645 ·
维护者通常 3 天内回复
-
🐞 bug
难度 2/5 1-3 小时 新手友好度 72/100
Sitecore/content-sdk#641 ·
维护者通常 2 天内回复