aws_eks_cluster

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

Constructor
{
  name,
  role_arn,
  bootstrap_self_managed_addons ? null,
  deletion_protection ? null,
  enabled_cluster_log_types ? null,
  force_update_version ? null,
  id ? null,
  cfg_name ? null,
  region ? null,
  tags ? null,
  tags_all ? null,
  version ? null,
  access_config ? null,
  compute_config ? null,
  control_plane_scaling_config ? null,
  encryption_config ? null,
  kube_api_server_config ? null,
  kube_controller_manager_config ? null,
  kube_scheduler_config ? null,
  kubernetes_network_config ? null,
  outpost_config ? null,
  remote_network_config ? null,
  storage_config ? null,
  timeouts ? null,
  upgrade_policy ? null,
  vpc_config ? null,
  zonal_shift_config ? null,
  overrides ? {}
}
Required arguments
  • role_arn
Optional arguments
  • bootstrap_self_managed_addons (defaults to null)
  • deletion_protection (defaults to null)
  • enabled_cluster_log_types (defaults to null)
  • force_update_version (defaults to null)
  • id (defaults to null)
  • cfg_name (defaults to null)
  • region (defaults to null)
  • tags (defaults to null)
  • tags_all (defaults to null)
  • version (defaults to null)
  • access_config (defaults to null)
  • compute_config (defaults to null)
  • control_plane_scaling_config (defaults to null)
  • encryption_config (defaults to null)
  • kube_api_server_config (defaults to null)
  • kube_controller_manager_config (defaults to null)
  • kube_scheduler_config (defaults to null)
  • kubernetes_network_config (defaults to null)
  • outpost_config (defaults to null)
  • remote_network_config (defaults to null)
  • storage_config (defaults to null)
  • timeouts (defaults to null)
  • upgrade_policy (defaults to null)
  • vpc_config (defaults to null)
  • zonal_shift_config (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • arn
  • certificate_authority
  • cluster_id
  • created_at
  • endpoint
  • identity
  • platform_version
  • status
Example
aws_eks_cluster {
  name = "eks_cluster";
  role_arn = …;  # required
}

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