diff --git a/modules/mysql/metadata.yaml b/modules/mysql/metadata.yaml index 4dba7f89..ed6422d9 100644 --- a/modules/mysql/metadata.yaml +++ b/modules/mysql/metadata.yaml @@ -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 diff --git a/modules/postgresql/metadata.yaml b/modules/postgresql/metadata.yaml index 5964d2d6..06b99f35 100644 --- a/modules/postgresql/metadata.yaml +++ b/modules/postgresql/metadata.yaml @@ -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