mirror of
https://github.com/ysoftdevs/terraform-aws-eks.git
synced 2026-01-15 08:14:12 +01:00
* feat: Replace `resolve_conflicts` with `resolve_conflicts_on_create`/`delete`; raise MSV of AWS provider to `v5.0` to support * fix: Replace dynamic DNS suffix for `sts:AssumeRole` API calls for static suffix * feat: Add module tag * feat: Align Karpenter permissions with Karpenter v1beta1/v0.32 permissions from upstream * refactor: Move `aws-auth` ConfigMap functionality to its own sub-module * chore: Update examples * feat: Add state `moved` block for Karpenter Pod Identity role re-name * fix: Correct variable `create` description * feat: Add support for cluster access entries * chore: Bump MSV of Terraform to `1.3` * fix: Replace defunct kubectl provider with an updated forked equivalent * chore: Update and validate examples for access entry; clean up provider usage * docs: Correct double redundant variable descriptions * feat: Add support for Cloudwatch log group class argument * fix: Update usage tag placement, fix Karpenter event spelling, add upcoming changes section to upgrade guide * feat: Update Karpenter module to generalize naming used and align policy with the upstream Karpenter policy * feat: Add native support for Windows based managed nodegroups similar to AL2 and Bottlerocket * feat: Update self-managed nodegroup module to use latest features of ASG * docs: Update and simplify docs * fix: Correct variable description for AMI types * fix: Update upgrade guide with changes; rename Karpenter controller resource names to support migrating for users * docs: Complete upgrade guide docs for migration and changes applied * Update examples/karpenter/README.md Co-authored-by: Anton Babenko <anton@antonbabenko.com> * Update examples/outposts/README.md Co-authored-by: Anton Babenko <anton@antonbabenko.com> * Update modules/karpenter/README.md Co-authored-by: Anton Babenko <anton@antonbabenko.com> --------- Co-authored-by: Anton Babenko <anton@antonbabenko.com>
212 lines
7.4 KiB
HCL
212 lines
7.4 KiB
HCL
################################################################################
|
|
# Cluster
|
|
################################################################################
|
|
|
|
output "cluster_arn" {
|
|
description = "The Amazon Resource Name (ARN) of the cluster"
|
|
value = module.eks.cluster_arn
|
|
}
|
|
|
|
output "cluster_certificate_authority_data" {
|
|
description = "Base64 encoded certificate data required to communicate with the cluster"
|
|
value = module.eks.cluster_certificate_authority_data
|
|
}
|
|
|
|
output "cluster_endpoint" {
|
|
description = "Endpoint for your Kubernetes API server"
|
|
value = module.eks.cluster_endpoint
|
|
}
|
|
|
|
output "cluster_id" {
|
|
description = "The ID of the EKS cluster. Note: currently a value is returned only for local EKS clusters created on Outposts"
|
|
value = module.eks.cluster_id
|
|
}
|
|
|
|
output "cluster_name" {
|
|
description = "The name of the EKS cluster"
|
|
value = module.eks.cluster_name
|
|
}
|
|
|
|
output "cluster_oidc_issuer_url" {
|
|
description = "The URL on the EKS cluster for the OpenID Connect identity provider"
|
|
value = module.eks.cluster_oidc_issuer_url
|
|
}
|
|
|
|
output "cluster_platform_version" {
|
|
description = "Platform version for the cluster"
|
|
value = module.eks.cluster_platform_version
|
|
}
|
|
|
|
output "cluster_status" {
|
|
description = "Status of the EKS cluster. One of `CREATING`, `ACTIVE`, `DELETING`, `FAILED`"
|
|
value = module.eks.cluster_status
|
|
}
|
|
|
|
output "cluster_primary_security_group_id" {
|
|
description = "Cluster security group that was created by Amazon EKS for the cluster. Managed node groups use this security group for control-plane-to-data-plane communication. Referred to as 'Cluster security group' in the EKS console"
|
|
value = module.eks.cluster_primary_security_group_id
|
|
}
|
|
|
|
################################################################################
|
|
# Access Entry
|
|
################################################################################
|
|
|
|
output "access_entries" {
|
|
description = "Map of access entries created and their attributes"
|
|
value = module.eks.access_entries
|
|
}
|
|
|
|
################################################################################
|
|
# KMS Key
|
|
################################################################################
|
|
|
|
output "kms_key_arn" {
|
|
description = "The Amazon Resource Name (ARN) of the key"
|
|
value = module.eks.kms_key_arn
|
|
}
|
|
|
|
output "kms_key_id" {
|
|
description = "The globally unique identifier for the key"
|
|
value = module.eks.kms_key_id
|
|
}
|
|
|
|
output "kms_key_policy" {
|
|
description = "The IAM resource policy set on the key"
|
|
value = module.eks.kms_key_policy
|
|
}
|
|
|
|
################################################################################
|
|
# Security Group
|
|
################################################################################
|
|
|
|
output "cluster_security_group_arn" {
|
|
description = "Amazon Resource Name (ARN) of the cluster security group"
|
|
value = module.eks.cluster_security_group_arn
|
|
}
|
|
|
|
output "cluster_security_group_id" {
|
|
description = "ID of the cluster security group"
|
|
value = module.eks.cluster_security_group_id
|
|
}
|
|
|
|
################################################################################
|
|
# Node Security Group
|
|
################################################################################
|
|
|
|
output "node_security_group_arn" {
|
|
description = "Amazon Resource Name (ARN) of the node shared security group"
|
|
value = module.eks.node_security_group_arn
|
|
}
|
|
|
|
output "node_security_group_id" {
|
|
description = "ID of the node shared security group"
|
|
value = module.eks.node_security_group_id
|
|
}
|
|
|
|
################################################################################
|
|
# IRSA
|
|
################################################################################
|
|
|
|
output "oidc_provider" {
|
|
description = "The OpenID Connect identity provider (issuer URL without leading `https://`)"
|
|
value = module.eks.oidc_provider
|
|
}
|
|
|
|
output "oidc_provider_arn" {
|
|
description = "The ARN of the OIDC Provider if `enable_irsa = true`"
|
|
value = module.eks.oidc_provider_arn
|
|
}
|
|
|
|
output "cluster_tls_certificate_sha1_fingerprint" {
|
|
description = "The SHA1 fingerprint of the public key of the cluster's certificate"
|
|
value = module.eks.cluster_tls_certificate_sha1_fingerprint
|
|
}
|
|
|
|
################################################################################
|
|
# IAM Role
|
|
################################################################################
|
|
|
|
output "cluster_iam_role_name" {
|
|
description = "IAM role name of the EKS cluster"
|
|
value = module.eks.cluster_iam_role_name
|
|
}
|
|
|
|
output "cluster_iam_role_arn" {
|
|
description = "IAM role ARN of the EKS cluster"
|
|
value = module.eks.cluster_iam_role_arn
|
|
}
|
|
|
|
output "cluster_iam_role_unique_id" {
|
|
description = "Stable and unique string identifying the IAM role"
|
|
value = module.eks.cluster_iam_role_unique_id
|
|
}
|
|
|
|
################################################################################
|
|
# EKS Addons
|
|
################################################################################
|
|
|
|
output "cluster_addons" {
|
|
description = "Map of attribute maps for all EKS cluster addons enabled"
|
|
value = module.eks.cluster_addons
|
|
}
|
|
|
|
################################################################################
|
|
# EKS Identity Provider
|
|
################################################################################
|
|
|
|
output "cluster_identity_providers" {
|
|
description = "Map of attribute maps for all EKS identity providers enabled"
|
|
value = module.eks.cluster_identity_providers
|
|
}
|
|
|
|
################################################################################
|
|
# CloudWatch Log Group
|
|
################################################################################
|
|
|
|
output "cloudwatch_log_group_name" {
|
|
description = "Name of cloudwatch log group created"
|
|
value = module.eks.cloudwatch_log_group_name
|
|
}
|
|
|
|
output "cloudwatch_log_group_arn" {
|
|
description = "Arn of cloudwatch log group created"
|
|
value = module.eks.cloudwatch_log_group_arn
|
|
}
|
|
|
|
################################################################################
|
|
# Fargate Profile
|
|
################################################################################
|
|
|
|
output "fargate_profiles" {
|
|
description = "Map of attribute maps for all EKS Fargate Profiles created"
|
|
value = module.eks.fargate_profiles
|
|
}
|
|
|
|
################################################################################
|
|
# EKS Managed Node Group
|
|
################################################################################
|
|
|
|
output "eks_managed_node_groups" {
|
|
description = "Map of attribute maps for all EKS managed node groups created"
|
|
value = module.eks.eks_managed_node_groups
|
|
}
|
|
|
|
output "eks_managed_node_groups_autoscaling_group_names" {
|
|
description = "List of the autoscaling group names created by EKS managed node groups"
|
|
value = module.eks.eks_managed_node_groups_autoscaling_group_names
|
|
}
|
|
|
|
################################################################################
|
|
# Self Managed Node Group
|
|
################################################################################
|
|
|
|
output "self_managed_node_groups" {
|
|
description = "Map of attribute maps for all self managed node groups created"
|
|
value = module.eks.self_managed_node_groups
|
|
}
|
|
|
|
output "self_managed_node_groups_autoscaling_group_names" {
|
|
description = "List of the autoscaling group names created by self-managed node groups"
|
|
value = module.eks.self_managed_node_groups_autoscaling_group_names
|
|
}
|