Skip to content

Commit

Permalink
fix cluster_name
Browse files Browse the repository at this point in the history
  • Loading branch information
zacharyblasczyk committed Oct 10, 2024
1 parent 0e629be commit 55d6f21
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions modules/app_eks/outputs.tf
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
output "autoscaling_group_names" {
value = { for name, value in module.eks.node_groups : name => lookup(lookup(lookup(value, "resources")[0], "autoscaling_groups")[0], "name") }
}
output "cluster_name" {
output "cluster_id" {
value = module.eks.cluster_id
description = "ID of the created EKS cluster"
}
Expand All @@ -20,4 +20,4 @@ output "primary_workers_security_group_id" {

output "aws_iam_openid_connect_provider" {
value = aws_iam_openid_connect_provider.eks.url
}
}
2 changes: 1 addition & 1 deletion outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ output "bucket_region" {
}

output "cluster_id" {
value = module.app_eks.cluster_name
value = module.app_eks.cluster_id
}

output "cluster_node_role" {
Expand Down

0 comments on commit 55d6f21

Please sign in to comment.