From 306b0a009890ecdbb4d265e40b21f9f7f577e2ea Mon Sep 17 00:00:00 2001 From: Alex Monk Date: Mon, 7 Oct 2019 15:24:07 +0100 Subject: [PATCH] Fix worker security group output to be the new security group --- modules/k8s-cluster/outputs.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/k8s-cluster/outputs.tf b/modules/k8s-cluster/outputs.tf index 9133035c3..beef91ba4 100644 --- a/modules/k8s-cluster/outputs.tf +++ b/modules/k8s-cluster/outputs.tf @@ -31,7 +31,7 @@ output "eks-log-group-name" { } output "worker_security_group_id" { - value = "${aws_cloudformation_stack.worker-nodes.outputs["NodeSecurityGroup"]}" + value = "${aws_security_group.worker.id}" } output "oidc_provider_url" {