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

Switching a runtime's build from CodeZip to Container fails CloudFormation

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

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

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
72/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
json, typescript
領域
cloud

調査の方向性

このリポジトリ内で AWS::BedrockAgentCore::Runtime の CloudFormation リソースプロバイダスキーマを特定し(リソースタイプ名で検索)、アーティファクトタイプのプロパティ(CodeZip vs Container)を見つける。CFN スキーマの規約に従って置換が必要(requires replacement)としてマークし、インプレースの UPDATE が計画されないようにする。完了条件は、スキーマが検証を通過し、runtime のビルドを CodeZip から Container に切り替えるスタック更新が "Agent artifact type cannot be updated" というエラーで失敗するのではなく、delete/create を計画すること。

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

説明

Switching a runtime's build from CodeZip to Container fails the CloudFormation update with "Agent artifact type cannot be updated" and rolls the stack back. The AWS::BedrockAgentCore::Runtime resource provider schema does not mark the artifact-type property as requiring replacement, so CloudFormation attempts an in-place UPDATE that the service API rejects outright. Since the service cannot change it in place, the schema should declare it as requiring replacement so CFN performs a delete/create automatically. Workaround: agentcore remove agent, deploy, re-add the runtime config, deploy again - which yields a new runtime ARN and execution role that then have to be re-referenced anywhere they were named, in our case a Cedar policy.

version: AgentCoreCLI/0.24.2 (darwin 25.5.0; node/v22.18.0)

主要言語
TypeScript
スター
302
フォーク
103
平均マージ
15時間 51分
マージ済み PR(30日)
179

環境構築

はじめの一歩

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

aws/agentcore-cli のほかの issue

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

似ている issue

TypeScript の issue をもっと見る

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

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