Skip to content

Commit 3fd3d39

Browse files
authored
Update network module versions in metadata.yaml
1 parent 9a5ad5c commit 3fd3d39

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

modules/compute_instance/metadata.yaml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -93,23 +93,29 @@ spec:
9393
connections:
9494
- source:
9595
source: github.com/terraform-google-modules/terraform-google-network
96-
version: "~> 6.0"
96+
version: "~> 18.0.0"
9797
spec:
98-
outputExpr: network_self_link
98+
outputExpr: network_name
9999
- name: subnetwork
100100
description: Subnet to deploy to. Only one of network or subnetwork should be specified.
101101
varType: string
102102
defaultValue: ""
103103
connections:
104104
- source:
105105
source: github.com/terraform-google-modules/terraform-google-network//modules/subnets
106-
version: ~> 6.0
106+
version: ~> 18.0.0
107107
spec:
108-
outputExpr: subnets[0].self_link
108+
outputExpr: subnets_self_links[0]
109109
- name: subnetwork_project
110110
description: The project that subnetwork belongs to
111111
varType: string
112112
defaultValue: ""
113+
connections:
114+
- source:
115+
source: github.com/terraform-google-modules/terraform-google-network
116+
version: "~> 18.0.0"
117+
spec:
118+
outputExpr: project_id
113119
- name: hostname
114120
description: Hostname of instances
115121
varType: string

0 commit comments

Comments
 (0)