Skip to content

Commit

Permalink
trying to correct the output
Browse files Browse the repository at this point in the history
  • Loading branch information
zacharyblasczyk committed Oct 10, 2024
1 parent 8844ff7 commit 2283280
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,6 @@ module "app_lb" {
network_id = local.network_id
enable_private_only_traffic = var.private_only_traffic
private_endpoint_cidr = var.allowed_private_endpoint_cidr

}

module "private_link" {
Expand Down
2 changes: 1 addition & 1 deletion 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 Down
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 2283280

Please sign in to comment.