Skip to content

Commit fc59e29

Browse files
authored
chore: add connection metadata for GCE instance_template (#700)
1 parent 49b478a commit fc59e29

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

modules/mysql/metadata.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,11 @@ spec:
163163
version: ">= 0.14"
164164
spec:
165165
outputExpr: "{\"id\": service_account_id.id, \"email\": service_account_id.email, \"type\": \"CLOUD_IAM_SERVICE_ACCOUNT\"}"
166+
- source:
167+
source: github.com/terraform-google-modules/terraform-google-vm//modules/instance_template
168+
version: ">= 13.2.0"
169+
spec:
170+
outputExpr: "{\"id\": service_account_info.id, \"email\": service_account_info.email, \"type\": \"CLOUD_IAM_SERVICE_ACCOUNT\"}"
166171
- name: random_instance_name
167172
description: Sets random suffix at the end of the Cloud SQL resource name
168173
varType: bool

modules/postgresql/metadata.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -353,6 +353,11 @@ spec:
353353
version: ">= 0.14"
354354
spec:
355355
outputExpr: "{\"id\": service_account_id.id, \"email\": service_account_id.email, \"type\": \"CLOUD_IAM_SERVICE_ACCOUNT\"}"
356+
- source:
357+
source: github.com/terraform-google-modules/terraform-google-vm//modules/instance_template
358+
version: ">= 13.2.0"
359+
spec:
360+
outputExpr: "{\"id\": service_account_info.id, \"email\": service_account_info.email, \"type\": \"CLOUD_IAM_SERVICE_ACCOUNT\"}"
356361
- name: create_timeout
357362
description: The optional timout that is applied to limit long database creates.
358363
varType: string

0 commit comments

Comments
 (0)