LOW
Source
Trivy
ID
AVD-GCP-0049

Clusters should have IP aliasing enabled

IP aliasing allows the reuse of public IPs internally, removing the need for a NAT gateway.

Impact

Follow the appropriate remediation steps below to resolve the issue.

Enable IP aliasing

1
2
3
4
5
resource "google_container_cluster" "good_example" {
  name     = "my-gke-cluster"
  location = "us-central1"
  ip_allocation_policy {}
}