mirror of
https://github.com/ysoftdevs/terraform-aws-eks.git
synced 2026-03-12 05:21:33 +01:00
Added outputs for labels and taints and updated example to show usage of labels and taints (#2109)
Co-authored-by: Bryant Biggs <bryantbiggs@gmail.com>
This commit is contained in:
@@ -178,8 +178,10 @@ module "eks_managed_node_group" {
|
||||
| <a name="output_node_group_arn"></a> [node\_group\_arn](#output\_node\_group\_arn) | Amazon Resource Name (ARN) of the EKS Node Group |
|
||||
| <a name="output_node_group_autoscaling_group_names"></a> [node\_group\_autoscaling\_group\_names](#output\_node\_group\_autoscaling\_group\_names) | List of the autoscaling group names |
|
||||
| <a name="output_node_group_id"></a> [node\_group\_id](#output\_node\_group\_id) | EKS Cluster name and EKS Node Group name separated by a colon (`:`) |
|
||||
| <a name="output_node_group_labels"></a> [node\_group\_labels](#output\_node\_group\_labels) | Map of labels applied to the node group |
|
||||
| <a name="output_node_group_resources"></a> [node\_group\_resources](#output\_node\_group\_resources) | List of objects containing information about underlying resources |
|
||||
| <a name="output_node_group_status"></a> [node\_group\_status](#output\_node\_group\_status) | Status of the EKS Node Group |
|
||||
| <a name="output_node_group_taints"></a> [node\_group\_taints](#output\_node\_group\_taints) | List of objects containing information about taints applied to the node group |
|
||||
| <a name="output_security_group_arn"></a> [security\_group\_arn](#output\_security\_group\_arn) | Amazon Resource Name (ARN) of the security group |
|
||||
| <a name="output_security_group_id"></a> [security\_group\_id](#output\_security\_group\_id) | ID of the security group |
|
||||
<!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
|
||||
|
||||
@@ -46,6 +46,16 @@ output "node_group_status" {
|
||||
value = try(aws_eks_node_group.this[0].arn, "")
|
||||
}
|
||||
|
||||
output "node_group_labels" {
|
||||
description = "Map of labels applied to the node group"
|
||||
value = try(aws_eks_node_group.this[0].labels, {})
|
||||
}
|
||||
|
||||
output "node_group_taints" {
|
||||
description = "List of objects containing information about taints applied to the node group"
|
||||
value = try(aws_eks_node_group.this[0].taint, [])
|
||||
}
|
||||
|
||||
################################################################################
|
||||
# Security Group
|
||||
################################################################################
|
||||
|
||||
Reference in New Issue
Block a user