Skip to content

Commit

Permalink
chore: add connection metadata for GCE instance_template
Browse files Browse the repository at this point in the history
  • Loading branch information
q2w committed Jan 25, 2025
1 parent 49b478a commit f1664ec
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions modules/mysql/metadata.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,11 @@ spec:
version: ">= 0.14"
spec:
outputExpr: "{\"id\": service_account_id.id, \"email\": service_account_id.email, \"type\": \"CLOUD_IAM_SERVICE_ACCOUNT\"}"
- source:
source: github.com/terraform-google-modules/terraform-google-vm//modules/instance_template
version: ">= 13.2.0"
spec:
outputExpr: "{\"id\": service_account_info.id, \"email\": service_account_info.email, \"type\": \"CLOUD_IAM_SERVICE_ACCOUNT\"}"
- name: random_instance_name
description: Sets random suffix at the end of the Cloud SQL resource name
varType: bool
Expand Down
5 changes: 5 additions & 0 deletions modules/postgresql/metadata.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -353,6 +353,11 @@ spec:
version: ">= 0.14"
spec:
outputExpr: "{\"id\": service_account_id.id, \"email\": service_account_id.email, \"type\": \"CLOUD_IAM_SERVICE_ACCOUNT\"}"
- source:
source: github.com/terraform-google-modules/terraform-google-vm//modules/instance_template
version: ">= 13.2.0"
spec:
outputExpr: "{\"id\": service_account_info.id, \"email\": service_account_info.email, \"type\": \"CLOUD_IAM_SERVICE_ACCOUNT\"}"
- name: create_timeout
description: The optional timout that is applied to limit long database creates.
varType: string
Expand Down

0 comments on commit f1664ec

Please sign in to comment.