Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Support existing IAM roles for runtime container-build infrastructure

オープン
#2,698 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

@proton0210 がすでに取り組んでいます。

2026年10月25日 から。

  • #2700 @proton0210 による — オープン

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
54/100
issue の種類
機能追加
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
aws, typescript

調査の方向性

Start by tracing the agentcore add runtime command through its configuration handling, then inspect the @aws/agentcore-cdk runtime and container-build integration. Use agentcore.json to verify that supplied ARNs persist through build and deploy operations, and identify where shared CodeBuild configuration is validated. Done means all three supplied roles are imported without permission changes, omitted roles still trigger automatic creation, conflicts are rejected clearly, and tests and required trust/permission documentation are added.

索引モデルが issue の本文から書いたものです。

説明

enhancement
Description

agentcore add runtime --role-arn supports an existing runtime execution role. Container deployments still create two additional roles: a CodeBuild execution role and a Lambda execution role for the container-build handler.

This blocks container deployments in environments where IAM roles must be provisioned centrally.

Allow users to supply these roles when adding a runtime. Proposed flag names:

agentcore add runtime \
  --name myAgent \
  --language python \
  --role-arn <runtime-role-arn> \
  --container-build-role-arn <codebuild-role-arn> \
  --container-build-handler-role-arn <lambda-role-arn>

Persist the ARNs in agentcore.json and expose equivalent configuration in @aws/agentcore-cdk.

Import supplied roles without modifying their permissions. Preserve automatic role creation when the options are omitted.

Acceptance Criteria
  • Supplying all three roles produces no IAM roles or policies for the runtime or its container-build infrastructure.
  • The configuration survives subsequent build and deploy operations.
  • Shared CodeBuild infrastructure handles supplied roles consistently across runtimes and rejects conflicting configuration clearly.
  • Documentation specifies required trust relationships and permissions for each role.
  • Tests cover supplied roles, default role creation, and conflicting shared-build configuration.
Additional Context

This covers runtime container-build infrastructure. CDK bootstrap remains a separate prerequisite for environments that prohibit role creation.

主要言語
TypeScript
スター
320
フォーク
109
平均マージ
18時間 29分
マージ済み PR(30日)
172

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

aws/agentcore-cli のほかの issue

aws/agentcore-cli の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。