|
| 1 | +################################################################################ |
| 2 | +# Cluster |
| 3 | +################################################################################ |
| 4 | + |
| 5 | +output "cluster_arn" { |
| 6 | + description = "The Amazon Resource Name (ARN) of the cluster" |
| 7 | + value = module.eks.cluster_arn |
| 8 | +} |
| 9 | + |
| 10 | +output "cluster_certificate_authority_data" { |
| 11 | + description = "Base64 encoded certificate data required to communicate with the cluster" |
| 12 | + value = module.eks.cluster_certificate_authority_data |
| 13 | +} |
| 14 | + |
1 | 15 | output "cluster_endpoint" {
|
2 |
| - description = "Endpoint for EKS control plane." |
| 16 | + description = "Endpoint for your Kubernetes API server" |
3 | 17 | value = module.eks.cluster_endpoint
|
4 | 18 | }
|
5 | 19 |
|
| 20 | +output "cluster_id" { |
| 21 | + description = "The name/id of the EKS cluster. Will block on cluster creation until the cluster is really ready" |
| 22 | + value = module.eks.cluster_id |
| 23 | +} |
| 24 | + |
| 25 | +output "cluster_oidc_issuer_url" { |
| 26 | + description = "The URL on the EKS cluster for the OpenID Connect identity provider" |
| 27 | + value = module.eks.cluster_oidc_issuer_url |
| 28 | +} |
| 29 | + |
| 30 | +output "cluster_platform_version" { |
| 31 | + description = "Platform version for the cluster" |
| 32 | + value = module.eks.cluster_platform_version |
| 33 | +} |
| 34 | + |
| 35 | +output "cluster_status" { |
| 36 | + description = "Status of the EKS cluster. One of `CREATING`, `ACTIVE`, `DELETING`, `FAILED`" |
| 37 | + value = module.eks.cluster_status |
| 38 | +} |
| 39 | + |
6 | 40 | output "cluster_security_group_id" {
|
7 |
| - description = "Security group ids attached to the cluster control plane." |
| 41 | + 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" |
8 | 42 | value = module.eks.cluster_security_group_id
|
9 | 43 | }
|
| 44 | + |
| 45 | +################################################################################ |
| 46 | +# Security Group |
| 47 | +################################################################################ |
| 48 | + |
| 49 | +output "cluster_security_group_arn" { |
| 50 | + description = "Amazon Resource Name (ARN) of the cluster security group" |
| 51 | + value = module.eks.cluster_security_group_arn |
| 52 | +} |
| 53 | + |
| 54 | +################################################################################ |
| 55 | +# IRSA |
| 56 | +################################################################################ |
| 57 | + |
| 58 | +output "oidc_provider_arn" { |
| 59 | + description = "The ARN of the OIDC Provider if `enable_irsa = true`" |
| 60 | + value = module.eks.oidc_provider_arn |
| 61 | +} |
| 62 | + |
| 63 | +################################################################################ |
| 64 | +# IAM Role |
| 65 | +################################################################################ |
| 66 | + |
| 67 | +output "cluster_iam_role_name" { |
| 68 | + description = "IAM role name of the EKS cluster" |
| 69 | + value = module.eks.cluster_iam_role_name |
| 70 | +} |
| 71 | + |
| 72 | +output "cluster_iam_role_arn" { |
| 73 | + description = "IAM role ARN of the EKS cluster" |
| 74 | + value = module.eks.cluster_iam_role_arn |
| 75 | +} |
| 76 | + |
| 77 | +output "cluster_iam_role_unique_id" { |
| 78 | + description = "Stable and unique string identifying the IAM role" |
| 79 | + value = module.eks.cluster_iam_role_unique_id |
| 80 | +} |
| 81 | + |
| 82 | +################################################################################ |
| 83 | +# CloudWatch Log Group |
| 84 | +################################################################################ |
| 85 | + |
| 86 | +output "cloudwatch_log_group_name" { |
| 87 | + description = "Name of cloudwatch log group created" |
| 88 | + value = module.eks.cloudwatch_log_group_name |
| 89 | +} |
| 90 | + |
| 91 | +output "cloudwatch_log_group_arn" { |
| 92 | + description = "Arn of cloudwatch log group created" |
| 93 | + value = module.eks.cloudwatch_log_group_arn |
| 94 | +} |
| 95 | + |
| 96 | +################################################################################ |
| 97 | +# Fargate Profile |
| 98 | +################################################################################ |
| 99 | + |
| 100 | +output "fargate_profiles" { |
| 101 | + description = "Map of attribute maps for all EKS Fargate Profiles created" |
| 102 | + value = module.eks.fargate_profiles |
| 103 | +} |
| 104 | + |
| 105 | +################################################################################ |
| 106 | +# EKS Managed Node Group |
| 107 | +################################################################################ |
| 108 | + |
| 109 | +output "eks_managed_node_groups" { |
| 110 | + description = "Map of attribute maps for all EKS managed node groups created" |
| 111 | + value = module.eks.eks_managed_node_groups |
| 112 | +} |
| 113 | + |
| 114 | +################################################################################ |
| 115 | +# Self Managed Node Group |
| 116 | +################################################################################ |
| 117 | + |
| 118 | +output "self_managed_node_groups" { |
| 119 | + description = "Map of attribute maps for all self managed node groups created" |
| 120 | + value = module.eks.self_managed_node_groups |
| 121 | +} |
0 commit comments