hashicorp / terraform-provider-google

Terraform Provider for Google Cloud Platform
https://registry.terraform.io/providers/hashicorp/google/latest/docs
Mozilla Public License 2.0
2.34k stars 1.74k forks source link

Support for enabling GKE Compliance Audit #19439

Open rparini-intellegens opened 2 months ago

rparini-intellegens commented 2 months ago

Community Note

Description

The GCP console has a Compliance Audit feature which can be enabled for GKE clusters attached to a fleet. The process for enabling this in the GCP console is documented here

But I can't see any way of enabling Compliance Audit with Terraform so I believe this is a feature request but apologies if I've missed something!

New or Affected Resource(s)

Potential Terraform Configuration

resource "google_container_cluster" "cluster" {
  compliance_audit = "ENABLED"
}

References

https://cloud.google.com/kubernetes-engine/fleet-management/docs/audit-cluster-compliance

b/377317584

rileykarson commented 1 week ago

Not sure where this lives- assuming hub for now