Skip to content

Commit 519ee8f

Browse files
adisi05q2w
andauthored
fix: Move Filestore input connection from env_vars to metadata (#560)
Co-authored-by: abhishek kumar tiwari <abhiwa@google.com>
1 parent 23bd254 commit 519ee8f

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

modules/instance_template/metadata.yaml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -322,6 +322,11 @@ spec:
322322
version: ">= 5.0.1"
323323
spec:
324324
outputExpr: "{\"ALLOYDB_INSTANCE_HOST\" : primary_instance_ip, \"ALLOYDB_READ_REPLICAS\": env_vars.ALLOYDB_READ_REPLICAS}"
325+
- source:
326+
source: github.com/GoogleCloudPlatform/terraform-google-cloud-filestore
327+
version: ">= 0.1.0"
328+
spec:
329+
outputExpr: "{\"FILESTORE_MOUNT_POINT\": mount_point}"
325330
- name: service_account
326331
description: Service account to attach to the instance. See https://www.terraform.io/docs/providers/google/r/compute_instance_template#service_account.
327332
varType: |-
@@ -336,12 +341,6 @@ spec:
336341
spec:
337342
outputExpr: email
338343
inputPath: email
339-
- source:
340-
source: github.com/GoogleCloudPlatform/terraform-google-cloud-filestore
341-
version: ">= 0.1.0"
342-
spec:
343-
outputExpr: "{\"FILESTORE_MOUNT_POINT\": mount_point}"
344-
inputPath: env_vars
345344
- name: create_service_account
346345
description: Create a new service account to attach to the instance. This is alternate to providing the service_account input variable. Please provide the service_account input if setting this to false.
347346
varType: bool

0 commit comments

Comments
 (0)