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

[Feature Request] Streamline FAST stage IAM impersonation tooling to reduce cross-stage 403 errors

クローズ
#253 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

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

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

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
38/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
shell, terraform

調査の方向性

Start by inspecting the existing tooling in scripts/ or fast/, especially deploy.sh, and review how stage-specific .tfvars and impersonation environment variables are handled. Compare the proposed helper, pre-flight authorization check, and docs/ddg.md troubleshooting section with current workflows; done means the selected scope is implemented and cross-stage 403 recovery is documented.

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

説明

Documentation Enhancement Level of Effort - Medium Priority - Medium Scope - Fast

Feature Description

Provide developer experience utilities, active-context indicators, and streamlined helper tooling for managing service account impersonation across Fabric FAST deployment stages.

Use Case

Fabric FAST enforces least-privilege architecture by dedicating separate service accounts to each deployment stage (0-bootstrap, 1-resman, 2-networking, 3-security). Operators must switch service account impersonation contexts each time they transition between stages or inspect cross-stage resources.

In practice, this frequent context switching causes recurring authorization errors (403 Forbidden) when operators run commands against a stage while still impersonating a previous stage's service account. This creates cognitive overload, friction during cross-stage troubleshooting, and client frustration.

Proposed Solution

  1. Stage Activation / Context Helper: Provide a lightweight helper script or shell function (e.g., within scripts/ or fast/) that exports the appropriate GOOGLE_IMPERSONATE_SERVICE_ACCOUNT / CLOUDSDK_AUTH_IMPERSONATE_SERVICE_ACCOUNT environment variable, checks credentials, and prepares stage-specific .tfvars in one command.
  2. Pre-flight Stage Authorization Verification: Add a check in stage tooling or deploy.sh that validates whether the currently active identity has permission to impersonate the target stage service account before running terraform plan or apply.
  3. Enhanced Cross-Stage Debugging Documentation: Add an explicit cross-stage IAM impersonation matrix and troubleshooting section in docs/ddg.md explaining how to debug permissions and recover from common 403 scenarios.

Compliance & Deployment Context

  • Target Deployment Type(s):
    • US Region Restricted (e.g., Access Policy constraint)
    • FedRAMP Medium
    • FedRAMP High
    • FedRAMP Moderate
    • DoD IL4
    • DoD IL5
    • All / General
  • Relevant NIST 800-53r5 Controls: AC-02 (Account Management), AC-06 (Least Privilege), IA-02 (Identification and Authentication)

Reusability Check

  • I have checked if this functionality can be achieved by extending an existing module or blueprint.
  • I have verified that this does not duplicate existing functionality.

Alternatives Considered

  • Consolidating into a single administrative service account: Rejected because it violates least privilege, separation of duties, and FedRAMP / DoD IL5 compliance requirements.
  • Manual variable exports only: Currently causes frequent 403 errors and developer confusion when switching stages.

Additional Context

Improving the developer experience around multi-stage impersonation preserves strict security boundaries while eliminating the primary source of authorization errors during deployments.

主要言語
HCL
スター
55
フォーク
21
平均マージ
1日 22時間
マージ済み PR(30日)
24

環境構築

はじめの一歩

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

google/stellar-engine のほかの issue

google/stellar-engine の issue をすべて見る

似ている issue

Cloud の issue をもっと見る

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

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