You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug] third-party-solutions/gitlab: the Cloud SQL database gets no private network, because psa_configs is not a cloudsql-instance attribute #313
BugSomething isn't workingLevel of Effort - LowQuick, well-defined tasks with no unknowns; takes a few hours up to one day to completePriority - HighCritical issues blocking development or users; urgent bugs or core features for releaseScope - BlueprintRelated to solution blueprints in the blueprints directoryScope - ModuleRelated to reusable Terraform modules in the modules directorySecuritySomething is insecure or can be secured
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:main at commit 2b112119e
Deployment Type:
US Region Restricted (e.g., Access Policy constraint)
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.connectivity type in modules/cloudsql-instance/variables.tf, which declares psa_config but no psa_configs.
Run terraform plan for the blueprint and inspect google_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.
BugSomething isn't workingLevel of Effort - LowQuick, well-defined tasks with no unknowns; takes a few hours up to one day to completePriority - HighCritical issues blocking development or users; urgent bugs or core features for releaseScope - BlueprintRelated to solution blueprints in the blueprints directoryScope - ModuleRelated to reusable Terraform modules in the modules directorySecuritySomething is insecure or can be secured
Activity