Skip to content

Commit e04491a

Browse files
authored
Add GKE Shared VPC support (hashicorp#1528)
All this needed was to allow setting the network/subnetwork to a self link. ~WIP for now because I want to run the tests in CI.~ Tests are passing.
1 parent 07f2d2e commit e04491a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

docs/r/container_cluster.html.markdown

+3-2
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,8 @@ output "cluster_ca_certificate" {
141141
`monitoring.googleapis.com`
142142

143143
* `network` - (Optional) The name or self_link of the Google Compute Engine
144-
network to which the cluster is connected.
144+
network to which the cluster is connected. For Shared VPC, set this to the self link of the
145+
shared network.
145146

146147
* `network_policy` - (Optional) Configuration options for the
147148
[NetworkPolicy](https://kubernetes.io/docs/concepts/services-networking/networkpolicies/)
@@ -171,7 +172,7 @@ output "cluster_ca_certificate" {
171172

172173
* `remove_default_node_pool` - (Optional) If true, deletes the default node pool upon cluster creation.
173174

174-
* `subnetwork` - (Optional) The name of the Google Compute Engine subnetwork in
175+
* `subnetwork` - (Optional) The name or self_link of the Google Compute Engine subnetwork in
175176
which the cluster's instances are launched.
176177

177178
The `addons_config` block supports:

0 commit comments

Comments
 (0)