google_container_cluster

Nivis Nix constructor for the google_container_cluster resource (provider google-beta). This reference is derived from the provider binary's own schema via nivis gen — it always matches the real provider.

Constructor
{
  name,
  allow_net_admin ? null,
  autopilot_privileged_admission ? null,
  cluster_ipv4_cidr ? null,
  datapath_provider ? null,
  dataplane_optimization_mode ? null,
  default_max_pods_per_node ? null,
  deletion_policy ? null,
  deletion_protection ? null,
  description ? null,
  desired_emulated_version ? null,
  disable_l4_lb_firewall_reconciliation ? null,
  enable_autopilot ? null,
  enable_cilium_clusterwide_network_policy ? null,
  enable_fqdn_network_policy ? null,
  enable_intranode_visibility ? null,
  enable_kubernetes_alpha ? null,
  enable_l4_ilb_subsetting ? null,
  enable_legacy_abac ? null,
  enable_multi_networking ? null,
  enable_shielded_nodes ? null,
  enable_tpu ? null,
  id ? null,
  ignore_node_count_changes ? null,
  in_transit_encryption_config ? null,
  initial_node_count ? null,
  location ? null,
  logging_service ? null,
  min_master_version ? null,
  monitoring_service ? null,
  cfg_name ? null,
  network ? null,
  networking_mode ? null,
  node_locations ? null,
  node_version ? null,
  private_ipv6_google_access ? null,
  project ? null,
  remove_default_node_pool ? null,
  resource_labels ? null,
  skip_node_pool_refresh ? null,
  subnetwork ? null,
  addons_config ? null,
  anonymous_authentication_config ? null,
  authenticator_groups_config ? null,
  autopilot_cluster_policy_config ? null,
  binary_authorization ? null,
  cluster_autoscaling ? null,
  cluster_telemetry ? null,
  confidential_nodes ? null,
  control_plane_endpoints_config ? null,
  cost_management_config ? null,
  database_encryption ? null,
  default_snat_status ? null,
  dns_config ? null,
  enable_k8s_beta_apis ? null,
  enterprise_config ? null,
  fleet ? null,
  gateway_api_config ? null,
  gke_auto_upgrade_config ? null,
  identity_service_config ? null,
  ip_allocation_policy ? null,
  logging_config ? null,
  maintenance_policy ? null,
  managed_machine_learning_diagnostics_config ? null,
  managed_opentelemetry_config ? null,
  master_auth ? null,
  master_authorized_networks_config ? null,
  mesh_certificates ? null,
  monitoring_config ? null,
  network_performance_config ? null,
  network_policy ? null,
  node_config ? null,
  node_creation_config ? null,
  node_pool ? null,
  node_pool_auto_config ? null,
  node_pool_defaults ? null,
  notification_config ? null,
  pod_autoscaling ? null,
  pod_security_policy_config ? null,
  private_cluster_config ? null,
  protect_config ? null,
  rbac_binding_config ? null,
  release_channel ? null,
  resource_usage_export_config ? null,
  rollback_safe_upgrade ? null,
  schedule_upgrade_config ? null,
  secret_manager_config ? null,
  secret_sync_config ? null,
  security_posture_config ? null,
  service_external_ips_config ? null,
  timeouts ? null,
  tpu_config ? null,
  user_managed_keys_config ? null,
  vertical_pod_autoscaling ? null,
  workload_alts_config ? null,
  workload_identity_config ? null,
  overrides ? {}
}
Required arguments

_None._

Optional arguments
  • allow_net_admin (defaults to null)
  • autopilot_privileged_admission (defaults to null)
  • cluster_ipv4_cidr (defaults to null)
  • datapath_provider (defaults to null)
  • dataplane_optimization_mode (defaults to null)
  • default_max_pods_per_node (defaults to null)
  • deletion_policy (defaults to null)
  • deletion_protection (defaults to null)
  • description (defaults to null)
  • desired_emulated_version (defaults to null)
  • disable_l4_lb_firewall_reconciliation (defaults to null)
  • enable_autopilot (defaults to null)
  • enable_cilium_clusterwide_network_policy (defaults to null)
  • enable_fqdn_network_policy (defaults to null)
  • enable_intranode_visibility (defaults to null)
  • enable_kubernetes_alpha (defaults to null)
  • enable_l4_ilb_subsetting (defaults to null)
  • enable_legacy_abac (defaults to null)
  • enable_multi_networking (defaults to null)
  • enable_shielded_nodes (defaults to null)
  • enable_tpu (defaults to null)
  • id (defaults to null)
  • ignore_node_count_changes (defaults to null)
  • in_transit_encryption_config (defaults to null)
  • initial_node_count (defaults to null)
  • location (defaults to null)
  • logging_service (defaults to null)
  • min_master_version (defaults to null)
  • monitoring_service (defaults to null)
  • cfg_name (defaults to null)
  • network (defaults to null)
  • networking_mode (defaults to null)
  • node_locations (defaults to null)
  • node_version (defaults to null)
  • private_ipv6_google_access (defaults to null)
  • project (defaults to null)
  • remove_default_node_pool (defaults to null)
  • resource_labels (defaults to null)
  • skip_node_pool_refresh (defaults to null)
  • subnetwork (defaults to null)
  • addons_config (defaults to null)
  • anonymous_authentication_config (defaults to null)
  • authenticator_groups_config (defaults to null)
  • autopilot_cluster_policy_config (defaults to null)
  • binary_authorization (defaults to null)
  • cluster_autoscaling (defaults to null)
  • cluster_telemetry (defaults to null)
  • confidential_nodes (defaults to null)
  • control_plane_endpoints_config (defaults to null)
  • cost_management_config (defaults to null)
  • database_encryption (defaults to null)
  • default_snat_status (defaults to null)
  • dns_config (defaults to null)
  • enable_k8s_beta_apis (defaults to null)
  • enterprise_config (defaults to null)
  • fleet (defaults to null)
  • gateway_api_config (defaults to null)
  • gke_auto_upgrade_config (defaults to null)
  • identity_service_config (defaults to null)
  • ip_allocation_policy (defaults to null)
  • logging_config (defaults to null)
  • maintenance_policy (defaults to null)
  • managed_machine_learning_diagnostics_config (defaults to null)
  • managed_opentelemetry_config (defaults to null)
  • master_auth (defaults to null)
  • master_authorized_networks_config (defaults to null)
  • mesh_certificates (defaults to null)
  • monitoring_config (defaults to null)
  • network_performance_config (defaults to null)
  • network_policy (defaults to null)
  • node_config (defaults to null)
  • node_creation_config (defaults to null)
  • node_pool (defaults to null)
  • node_pool_auto_config (defaults to null)
  • node_pool_defaults (defaults to null)
  • notification_config (defaults to null)
  • pod_autoscaling (defaults to null)
  • pod_security_policy_config (defaults to null)
  • private_cluster_config (defaults to null)
  • protect_config (defaults to null)
  • rbac_binding_config (defaults to null)
  • release_channel (defaults to null)
  • resource_usage_export_config (defaults to null)
  • rollback_safe_upgrade (defaults to null)
  • schedule_upgrade_config (defaults to null)
  • secret_manager_config (defaults to null)
  • secret_sync_config (defaults to null)
  • security_posture_config (defaults to null)
  • service_external_ips_config (defaults to null)
  • timeouts (defaults to null)
  • tpu_config (defaults to null)
  • user_managed_keys_config (defaults to null)
  • vertical_pod_autoscaling (defaults to null)
  • workload_alts_config (defaults to null)
  • workload_identity_config (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • effective_labels
  • emulated_version
  • endpoint
  • label_fingerprint
  • master_version
  • operation
  • self_link
  • services_ipv4_cidr
  • terraform_labels
  • tpu_ipv4_cidr_block
Example
google_container_cluster {
  name = "container_cluster";
}

The reference for every provider is generated from the provider's own schema, not copied from its documentation.