scholzj / terraform-aws-kubernetes

Terraform module for Kubernetes setup on AWS
Apache License 2.0
202 stars 129 forks source link

`vpc_zone_identifier`: should be a list #1

Closed guilhermeblanco closed 7 years ago

guilhermeblanco commented 7 years ago

When attempting to use the output of a counted resource into the module, it throws the error that vpc_zone_identifier should be a list. Example:

module "kubernetes" {
  source = "scholzj/kubernetes/aws"

  master_subnet_id = "${element(aws_subnet.public.*.id, 0)}"
  worker_subnet_ids = "${aws_subnet.protected.*.id}"

  # ...
}
scholzj commented 7 years ago

Thanks for raising this issue. It should be fixed now in release 1.1.1. Please give it a try. I will close this issue now - if you still experience some problems please feel free to reopen it.