Skip to content

Commit 774eefd

Browse files
authored
Merge pull request #662 from ovh/dev/aamstutz/fix-kube-datasource
fix: Add missing fields in ovh_cloud_project_kube datasource
2 parents 22f0912 + 7ee765d commit 774eefd

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

ovh/data_cloud_project_kube.go

+8
Original file line numberDiff line numberDiff line change
@@ -258,6 +258,14 @@ func dataSourceCloudProjectKube() *schema.Resource {
258258
Type: schema.TypeString,
259259
Computed: true,
260260
},
261+
kubeClusterLoadBalancersSubnetIdKey: {
262+
Type: schema.TypeString,
263+
Computed: true,
264+
},
265+
kubeClusterNodesSubnetIdKey: {
266+
Type: schema.TypeString,
267+
Computed: true,
268+
},
261269
},
262270
}
263271
}

website/docs/d/cloud_project_kube.html.markdown

+2
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@ The following attributes are exported:
3636
* `region` - The OVHcloud public cloud region ID of the managed kubernetes cluster.
3737
* `version` - Kubernetes version of the managed kubernetes cluster.
3838
* `private_network_id` - OpenStack private network (or vrack) ID to use.
39+
* `load_balancers_subnet_id` - Openstack private network (or vRack) ID to use for load balancers.
40+
* `nodes_subnet_id` - Openstack private network (or vRack) ID to use for nodes.
3941
* `control_plane_is_up_to_date` - True if control-plane is up-to-date.
4042
* `is_up_to_date` - True if all nodes and control-plane are up-to-date.
4143
* `next_upgrade_versions` - Kubernetes versions available for upgrade.

0 commit comments

Comments
 (0)