Skip to content

Commit

Permalink
Use splat syntax to return NG underlying resources (cloudposse#9)
Browse files Browse the repository at this point in the history
* Use splat syntax to return NG underlying resources

* Update EKS cluster module's version in examples

Update from 0.13.0 to 0.16.0.

Co-authored-by: Andriy Knysh <aknysh@users.noreply.github.com>
  • Loading branch information
maxgio92 and aknysh committed Jan 22, 2020
1 parent bf5080d commit 740c50f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/complete/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ module "subnets" {
}

module "eks_cluster" {
source = "git::https://github.com/cloudposse/terraform-aws-eks-cluster.git?ref=tags/0.13.0"
source = "git::https://github.com/cloudposse/terraform-aws-eks-cluster.git?ref=tags/0.16.0"
namespace = var.namespace
stage = var.stage
name = var.name
Expand Down
2 changes: 1 addition & 1 deletion outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ output "eks_node_group_arn" {

output "eks_node_group_resources" {
description = "List of objects containing information about underlying resources of the EKS Node Group"
value = var.enabled ? aws_eks_node_group.default.0.resources : []
value = var.enabled ? aws_eks_node_group.default.*.resources : []
}

output "eks_node_group_status" {
Expand Down

0 comments on commit 740c50f

Please sign in to comment.