Skip to content

Commit 6e9ab65

Browse files
Enable basic protection for clusters.
1 parent 6fd5249 commit 6e9ab65

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

tf/service_cluster/container.tf

+8
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,14 @@ resource "google_container_cluster" "main" {
4444

4545
deletion_protection = var.deletion_protection
4646

47+
protect_config {
48+
workload_config {
49+
audit_mode = "BASIC"
50+
}
51+
workload_vulnerability_mode = "BASIC"
52+
}
53+
54+
4755
lifecycle {
4856
ignore_changes = [
4957
dns_config,

0 commit comments

Comments
 (0)