Skip to content

Commit

Permalink
Added vpc_id/vpc_cidr_block/subnets to output.
Browse files Browse the repository at this point in the history
  • Loading branch information
zawac002 committed Sep 5, 2023
1 parent bdbef74 commit 6bd7d36
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 1 deletion.
2 changes: 1 addition & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ locals {

# TBD - Why do we need nlb-policy
additional_policies = {
# 'nlb-policy' = aws_iam_policy.nlb-policy.arn
# 'nlb-policy' = aws_iam_policy.nlb-policy.arn
}

ng_name = format("%v%v-nodegroup", local._prefixes["eks"], var.cluster_name)
Expand Down
19 changes: 19 additions & 0 deletions outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,25 @@ output "module_version" {
value = local._module_version
}

################################################################################
# Networking information
################################################################################

output "vpc_id" {
description = "The VPC id where the EKS cluster was deployed."
value = local.vpc_id
}

output "vpc_cidr_block" {
description = "The CIDR block associated with the VPC."
value = local.vpc_cidr_block
}

output "subnets" {
description = "The subnets configured for the VPC."
value = slocal.subnets
}

################################################################################
# IRSA Roles Created
################################################################################
Expand Down

0 comments on commit 6bd7d36

Please sign in to comment.