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.
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.
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.