Skip to content

Commit 40fdc00

Browse files
srikxcipherclaude
andauthored
fix(datastore/postgres/gcp-cloudsql): read project_id, not project (#366)
The three GCP datastore modules consume the same @facets/gcp_cloud_account provider input, but postgres/gcp-cloudsql declared the attribute as `project` while mysql/gcp-cloudsql and redis/gcp-memorystore use `project_id`. Both work today only because the resource-type system passes the whole interface object; the drift breaks the moment the output schema is tightened to one canonical name. Align on project_id (matches the two siblings and GCP API naming). Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent 76a2e4b commit 40fdc00

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

modules/datastore/postgres/gcp-cloudsql/1.0/variables.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ variable "inputs" {
8282
type = object({
8383
gcp_provider = object({
8484
attributes = object({
85-
project = string
85+
project_id = string
8686
credentials = string
8787
})
8888
})

0 commit comments

Comments
 (0)