|
| 1 | +output "kubeconfig" { |
| 2 | + description = "`kubeconfig` configuration to connect to the cluster using `kubectl`. https://www.terraform.io/docs/providers/aws/guides/eks-getting-started.html#obtaining-kubectl-configuration-from-terraform" |
| 3 | + value = "${module.eks_cluster.kubeconfig}" |
| 4 | +} |
| 5 | + |
| 6 | +output "config_map_aws_auth" { |
| 7 | + description = "Kubernetes ConfigMap configuration to allow the worker nodes to join the EKS cluster. https://www.terraform.io/docs/providers/aws/guides/eks-getting-started.html#required-kubernetes-configuration-to-join-worker-nodes" |
| 8 | + value = "${module.eks_workers.config_map_aws_auth}" |
| 9 | +} |
| 10 | + |
| 11 | +output "eks_cluster_security_group_id" { |
| 12 | + description = "ID of the EKS cluster Security Group" |
| 13 | + value = "${module.eks_cluster.security_group_id}" |
| 14 | +} |
| 15 | + |
| 16 | +output "eks_cluster_security_group_arn" { |
| 17 | + description = "ARN of the EKS cluster Security Group" |
| 18 | + value = "${module.eks_cluster.security_group_arn}" |
| 19 | +} |
| 20 | + |
| 21 | +output "eks_cluster_security_group_name" { |
| 22 | + description = "Name of the EKS cluster Security Group" |
| 23 | + value = "${module.eks_cluster.security_group_name}" |
| 24 | +} |
| 25 | + |
| 26 | +output "eks_cluster_id" { |
| 27 | + description = "The name of the cluster" |
| 28 | + value = "${module.eks_cluster.eks_cluster_id}" |
| 29 | +} |
| 30 | + |
| 31 | +output "eks_cluster_arn" { |
| 32 | + description = "The Amazon Resource Name (ARN) of the cluster" |
| 33 | + value = "${module.eks_cluster.eks_cluster_arn}" |
| 34 | +} |
| 35 | + |
| 36 | +output "eks_cluster_certificate_authority_data" { |
| 37 | + description = "The base64 encoded certificate data required to communicate with the cluster" |
| 38 | + value = "${module.eks_cluster.eks_cluster_certificate_authority_data}" |
| 39 | +} |
| 40 | + |
| 41 | +output "eks_cluster_endpoint" { |
| 42 | + description = "The endpoint for the Kubernetes API server" |
| 43 | + value = "${module.eks_cluster.eks_cluster_endpoint}" |
| 44 | +} |
| 45 | + |
| 46 | +output "eks_cluster_version" { |
| 47 | + description = "The Kubernetes server version of the cluster" |
| 48 | + value = "${module.eks_cluster.eks_cluster_version}" |
| 49 | +} |
| 50 | + |
| 51 | +output "workers_launch_template_id" { |
| 52 | + description = "ID of the launch template" |
| 53 | + value = "${module.eks_workers.launch_template_id}" |
| 54 | +} |
| 55 | + |
| 56 | +output "workers_launch_template_arn" { |
| 57 | + description = "ARN of the launch template" |
| 58 | + value = "${module.eks_workers.launch_template_arn}" |
| 59 | +} |
| 60 | + |
| 61 | +output "workers_autoscaling_group_id" { |
| 62 | + description = "The AutoScaling Group ID" |
| 63 | + value = "${module.eks_workers.autoscaling_group_id}" |
| 64 | +} |
| 65 | + |
| 66 | +output "workers_autoscaling_group_name" { |
| 67 | + description = "The AutoScaling Group name" |
| 68 | + value = "${module.eks_workers.autoscaling_group_name}" |
| 69 | +} |
| 70 | + |
| 71 | +output "workers_autoscaling_group_arn" { |
| 72 | + description = "ARN of the AutoScaling Group" |
| 73 | + value = "${module.eks_workers.autoscaling_group_arn}" |
| 74 | +} |
| 75 | + |
| 76 | +output "workers_autoscaling_group_min_size" { |
| 77 | + description = "The minimum size of the AutoScaling Group" |
| 78 | + value = "${module.eks_workers.autoscaling_group_min_size}" |
| 79 | +} |
| 80 | + |
| 81 | +output "workers_autoscaling_group_max_size" { |
| 82 | + description = "The maximum size of the AutoScaling Group" |
| 83 | + value = "${module.eks_workers.autoscaling_group_max_size}" |
| 84 | +} |
| 85 | + |
| 86 | +output "workers_autoscaling_group_desired_capacity" { |
| 87 | + description = "The number of Amazon EC2 instances that should be running in the group" |
| 88 | + value = "${module.eks_workers.autoscaling_group_desired_capacity}" |
| 89 | +} |
| 90 | + |
| 91 | +output "workers_autoscaling_group_default_cooldown" { |
| 92 | + description = "Time between a scaling activity and the succeeding scaling activity" |
| 93 | + value = "${module.eks_workers.autoscaling_group_default_cooldown}" |
| 94 | +} |
| 95 | + |
| 96 | +output "workers_autoscaling_group_health_check_grace_period" { |
| 97 | + description = "Time after instance comes into service before checking health" |
| 98 | + value = "${module.eks_workers.autoscaling_group_health_check_grace_period}" |
| 99 | +} |
| 100 | + |
| 101 | +output "workers_autoscaling_group_health_check_type" { |
| 102 | + description = "`EC2` or `ELB`. Controls how health checking is done" |
| 103 | + value = "${module.eks_workers.autoscaling_group_health_check_type}" |
| 104 | +} |
| 105 | + |
| 106 | +output "workers_security_group_id" { |
| 107 | + description = "ID of the worker nodes Security Group" |
| 108 | + value = "${module.eks_workers.security_group_id}" |
| 109 | +} |
| 110 | + |
| 111 | +output "workers_security_group_arn" { |
| 112 | + description = "ARN of the worker nodes Security Group" |
| 113 | + value = "${module.eks_workers.security_group_arn}" |
| 114 | +} |
| 115 | + |
| 116 | +output "workers_security_group_name" { |
| 117 | + description = "Name of the worker nodes Security Group" |
| 118 | + value = "${module.eks_workers.security_group_name}" |
| 119 | +} |
0 commit comments