learn-terraform-provision-gke-cluster
learn-terraform-provision-gke-cluster copied to clipboard
requireShieldedVm constraint error
Issue deploying cluster.
Error: Error waiting for creating GKE cluster:
│ (1) Not all instances running in IGM after 32.252902304s. Expected 1, running 0, transitioning 1. Current errors: [CONDITION_NOT_MET]: Instance 'gke-uniqueid-playground--default-pool-06948ca8-1xpd' creation failed: Constraint constraints/compute.requireShieldedVm violated for project projects/uniqueid-playground. Secure Boot is not enabled in the 'shielded_instance_config' field. See https://cloud.google.com/resource-manager/docs/organization-policy/org-policy-constraints for more information
Doesn't matter if I set the shielded vm option to true or false. Defaults to true.
enable_shielded_nodes = true
Still comes up with that error.