From a89e91bf8f6a8f6bca6d2b778db0bdc7214c3952 Mon Sep 17 00:00:00 2001 From: Michael Marshall <47911938+michaeljmarshall@users.noreply.github.com> Date: Sat, 6 Jun 2020 02:55:35 -0600 Subject: [PATCH] feat: Add aws_security_group_rule.cluster_https_worker_ingress to output values (#901) --- README.md | 1 + outputs.tf | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/README.md b/README.md index 3977fd7..fa565c8 100644 --- a/README.md +++ b/README.md @@ -234,6 +234,7 @@ MIT Licensed. See [LICENSE](https://github.com/terraform-aws-modules/terraform-a | kubeconfig\_filename | The filename of the generated kubectl config. | | node\_groups | Outputs from EKS node groups. Map of maps, keyed by var.node\_groups keys | | oidc\_provider\_arn | The ARN of the OIDC Provider if `enable_irsa = true`. | +| security\_group\_rule\_cluster\_https\_worker\_ingress | Security group rule responsible for allowing pods to communicate with the EKS cluster API. | | worker\_iam\_instance\_profile\_arns | default IAM instance profile ARN for EKS worker groups | | worker\_iam\_instance\_profile\_names | default IAM instance profile name for EKS worker groups | | worker\_iam\_role\_arn | default IAM role ARN for EKS worker groups | diff --git a/outputs.tf b/outputs.tf index e9628e6..0e00989 100644 --- a/outputs.tf +++ b/outputs.tf @@ -165,3 +165,8 @@ output "node_groups" { description = "Outputs from EKS node groups. Map of maps, keyed by var.node_groups keys" value = module.node_groups.node_groups } + +output "security_group_rule_cluster_https_worker_ingress" { + description = "Security group rule responsible for allowing pods to communicate with the EKS cluster API." + value = aws_security_group_rule.cluster_https_worker_ingress +}