GoogleCloudPlatform / gke-network-policy-demo

This guide demonstrates how to improve the security of your Kubernetes Engine by applying fine-grained restrictions to network communication. You will provision a simple HTTP server and two client pods in a Kubernetes Engine cluster, then use a Network Policy restrict connections from client pods.
Apache License 2.0
99 stars 86 forks source link

Add the enable_private_endpoint in main.tf #39

Open ramjisriram opened 2 years ago

ramjisriram commented 2 years ago

Add enable_private_endpoint = true in terraform/main.tf to resolve the following issue:

Error: Missing required argument │ │ on main.tf line 70, in resource "google_container_cluster" "primary": │ 70: private_cluster_config { │ │ The argument "enable_private_endpoint" is required, but no definition was found.