Pattern: Disabled shielding for GKE node
Issue: -
Shielded GKE Nodes provide strong, verifiable node identity and integrity to increase the security of GKE nodes and should be enabled on all GKE clusters.
Resolution: Enable node shielding.
Example of incorrect code:
resource "google_container_cluster" "bad_example" {
enable_shielded_nodes = "false"
}
Example of correct code:
resource "google_container_cluster" "good_example" {
enable_shielded_nodes = "true"
}