[Bug] third-party-solutions/gitlab: the Cloud SQL database gets no private network, because psa_configs is not a cloudsql-instance attribute
メンテナーはふだん 1 日以内に返信
@digitalresistor がすでに取り組んでいます。
2026年10月20日 から。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 82/100
- issue の種類
- バグ
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- gcp, terraform
- 領域
- cloud
調査の方向性
blueprints/third-party-solutions/gitlab/services.tf の接続引数と、modules/cloudsql-instance/variables.tf の network_config の型を比較します。呼び出し元を変更して、宣言済みの psa_config 属性を使用するようにします。その後、GitLab blueprint に対して terraform plan を実行し、データベースインスタンスがプライベートネットワーク構成を受け取ることを確認します。
索引モデルが issue の本文から書いたものです。
説明
Bug Description
The blueprints/third-party-solutions/gitlab/services.tf file passes network_config.connectivity.psa_configs, a list, to the modules/cloudsql-instance module. The module declares psa_config, a single object, so Terraform silently discards the list and the GitLab database has no private services access connection.
Environment and Deployment Context
- Stellar Engine Version/Commit:
mainat commit2b112119e - Deployment Type:
- US Region Restricted (e.g., Access Policy constraint)
- FedRAMP Moderate
- FedRAMP High
- DoD IL4
- DoD IL5
- Stand-alone / Custom
- FAST Stage (if applicable):
- Stage 0 (Bootstrap)
- Stage 1 (Resource Management)
- Stage 2 (Network Creation)
- Stage 3 (Security and Audit)
- Affected Component:
blueprints/third-party-solutions/gitlab,modules/cloudsql-instance - Terraform Version: any; static analysis of the configuration
- GCP Provider Version: any
Steps to Reproduce
- Read
blueprints/third-party-solutions/gitlab/services.tf, lines 37 to 43. - Compare the
network_config.connectivitytype inmodules/cloudsql-instance/variables.tf, which declarespsa_configbut nopsa_configs. - Run
terraform planfor the blueprint and inspectgoogle_sql_database_instancesettings.ip_configuration.private_network.
Expected Behavior
The instance attaches to var.network_config.network_self_link through private services access, so GitLab reaches the database over the VPC.
Actual Behavior
The private network attribute stays unset. With public_ipv4 at its default of false, the instance has no IP address configuration, so the apply fails or GitLab cannot reach the database.
Relevant Logs and Errors
No error appears, because Terraform discards object attributes that a variable type does not declare.
Additional Context
- Replace
psa_configs = [{ private_network = ... }]withpsa_config = { private_network = ... }. - The upstream sync in #311 keeps the same attribute name, so the fix applies before and after it.
- Found while migrating module callers in #311.
- 主要言語
- HCL
- スター
- 58
- フォーク
- 25
- 平均マージ
- 1日 17時間
- マージ済み PR(30日)
- 60
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
google/stellar-engine のほかの issue
-
Enhancement Framework - FedRAMP High Level of Effort - Low Priority - Medium Scope - Blueprint Scope - Module
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
google/stellar-engine#320 ·
メンテナーはふだん 1 日以内に返信
-
0-bootstrap: compute.restrictVpcPeering allows peering under a folder outside the deployer's org対応中かも @WandLZhang が今日担当しました。 オープン
難易度 1/5 1時間未満 初心者へのやさしさ 35/100
google/stellar-engine#351 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
Enhancement Level of Effort - Medium Priority - Medium Scope - Blueprint Scope - Fast Scope - Module
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
google/stellar-engine#321 ·
メンテナーはふだん 1 日以内に返信
-
[Feature Request] Sync the repository tooling under tools/ from upstream Cloud Foundation Fabric対応中かも @digitalresistor が 3 日前に担当しました。 オープンDocumentation Enhancement Level of Effort - Medium Priority - Medium Scope - Module
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
google/stellar-engine#319 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
[Bug] il5/gke-hardened: shielded nodes, confidential nodes and the CIS SSH key setting never apply対応中かも @digitalresistor が 3 日前に担当しました。 オープンBug Framework - FedRAMP High Framework - IL5 Level of Effort - Low Priority - High Scope - Blueprint Scope - Module Security
難易度 3/5 1〜2日 初心者へのやさしさ 67/100
google/stellar-engine#315 ·
メンテナーはふだん 1 日以内に返信
google/stellar-engine の issue をすべて見る
似ている issue
-
bug needs-triage service/configservice
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
hashicorp/terraform-provider-aws#50624 · コメント 1 件 · リアクション 3 件 ·
メンテナーはふだん 1 日以内に返信
-
BUG: AzureBlobStorageTarget returns a URL with // when the container URL ends with a slash対応中かも @ShivamSharma43 が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 2 日以内に返信
-
Missing return in buyer notification handler allows Lambda to finish before SES request completes対応中かも @l4d2boomer が今日担当しました。 オープン
難易度 1/5 1時間未満 初心者へのやさしさ 91/100
aws-samples/aws-marketplace-serverless-saas-integration#112 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
aws-samples/sample-per-model-bedrock#464 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100