Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

agentcore init command + portability gaps: aws-targets.json gitignore guidance + CDK re-scaffold support

Đang mở
#1,928 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
35/100
Loại issue
Tính năng
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Ít trao đổi
Công nghệ
aws, typescript
Lĩnh vực
cli, cloud, infrastructure

Hướng nghiên cứu

Bắt đầu bằng cách đọc hành vi liên quan đến agentcore.json, aws-targets.json và thư mục agentcore/cdk/, sau đó theo dõi các lệnh agentcore deploy và agentcore create. Làm rõ re-scaffolding nên xử lý mã và cấu hình hiện có như thế nào. Được coi là hoàn tất khi đáp ứng tiêu chí chấp nhận đã được ghi lại: một agentcore.json từ một AWS account có thể được triển khai trong một account mới bằng một lệnh agentcore deploy duy nhất.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

enhancement
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.json hardcodes account + region — if you clone the repo elsewhere without it, agentcore deploy fails. 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 run agentcore create to regenerate it, it refuses because the directory isn't empty.
    There's no agentcore init that 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.json created to run in an AWS account can be deployed in a new account with just one command: agentcore deploy
Additional Context

No response

Ngôn ngữ chính
TypeScript
Star
291
Fork
96
Merge trung bình
20 giờ 50 phút
Pull request đã merge (30 ngày)
214

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của aws/agentcore-cli

Tất cả issue của aws/agentcore-cli

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.