google_container_clusterNivis Nix constructor for the google_container_cluster resource (provider google). 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,
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_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,
private_cluster_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,
user_managed_keys_config ? null,
vertical_pod_autoscaling ? null,
workload_identity_config ? null,
overrides ? {}
}Required arguments
_None._
Optional arguments
allow_net_admin(defaults tonull)autopilot_privileged_admission(defaults tonull)cluster_ipv4_cidr(defaults tonull)datapath_provider(defaults tonull)dataplane_optimization_mode(defaults tonull)default_max_pods_per_node(defaults tonull)deletion_policy(defaults tonull)deletion_protection(defaults tonull)description(defaults tonull)desired_emulated_version(defaults tonull)disable_l4_lb_firewall_reconciliation(defaults tonull)enable_autopilot(defaults tonull)enable_cilium_clusterwide_network_policy(defaults tonull)enable_fqdn_network_policy(defaults tonull)enable_intranode_visibility(defaults tonull)enable_kubernetes_alpha(defaults tonull)enable_l4_ilb_subsetting(defaults tonull)enable_legacy_abac(defaults tonull)enable_multi_networking(defaults tonull)enable_shielded_nodes(defaults tonull)enable_tpu(defaults tonull)id(defaults tonull)ignore_node_count_changes(defaults tonull)in_transit_encryption_config(defaults tonull)initial_node_count(defaults tonull)location(defaults tonull)logging_service(defaults tonull)min_master_version(defaults tonull)monitoring_service(defaults tonull)cfg_name(defaults tonull)network(defaults tonull)networking_mode(defaults tonull)node_locations(defaults tonull)node_version(defaults tonull)private_ipv6_google_access(defaults tonull)project(defaults tonull)remove_default_node_pool(defaults tonull)resource_labels(defaults tonull)skip_node_pool_refresh(defaults tonull)subnetwork(defaults tonull)addons_config(defaults tonull)anonymous_authentication_config(defaults tonull)authenticator_groups_config(defaults tonull)autopilot_cluster_policy_config(defaults tonull)binary_authorization(defaults tonull)cluster_autoscaling(defaults tonull)confidential_nodes(defaults tonull)control_plane_endpoints_config(defaults tonull)cost_management_config(defaults tonull)database_encryption(defaults tonull)default_snat_status(defaults tonull)dns_config(defaults tonull)enable_k8s_beta_apis(defaults tonull)enterprise_config(defaults tonull)fleet(defaults tonull)gateway_api_config(defaults tonull)gke_auto_upgrade_config(defaults tonull)identity_service_config(defaults tonull)ip_allocation_policy(defaults tonull)logging_config(defaults tonull)maintenance_policy(defaults tonull)managed_opentelemetry_config(defaults tonull)master_auth(defaults tonull)master_authorized_networks_config(defaults tonull)mesh_certificates(defaults tonull)monitoring_config(defaults tonull)network_performance_config(defaults tonull)network_policy(defaults tonull)node_config(defaults tonull)node_creation_config(defaults tonull)node_pool(defaults tonull)node_pool_auto_config(defaults tonull)node_pool_defaults(defaults tonull)notification_config(defaults tonull)pod_autoscaling(defaults tonull)private_cluster_config(defaults tonull)rbac_binding_config(defaults tonull)release_channel(defaults tonull)resource_usage_export_config(defaults tonull)rollback_safe_upgrade(defaults tonull)schedule_upgrade_config(defaults tonull)secret_manager_config(defaults tonull)secret_sync_config(defaults tonull)security_posture_config(defaults tonull)service_external_ips_config(defaults tonull)timeouts(defaults tonull)user_managed_keys_config(defaults tonull)vertical_pod_autoscaling(defaults tonull)workload_identity_config(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
effective_labelsemulated_versionendpointlabel_fingerprintmaster_versionoperationself_linkservices_ipv4_cidrterraform_labelstpu_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.