github cloudposse/terraform-aws-dynamic-subnets 0.19.0
0.19.0 Add `private_subnets_additional_tags` and `public_subnets_additional_tags` variables. Change AWS region for tests.

latest releases: 2.4.2, v2, 2.4.1...
4 years ago

what

  • Add private_subnets_additional_tags and public_subnets_additional_tags variables
  • Change AWS region for tests to us-east-2

why

  • EKS requires tagging all subnets with kubernetes.io/cluster/<cluster-name>=shared tag, but at the same time it requires tagging subnets with additional tags that are different for public and private subnets:

    • Private Subnet Tagging Requirement for Internal Load Balancers:
      kubernetes.io/role/internal-elb=1

    • Public Subnet Tagging Option for External Load Balancers:
      kubernetes.io/role/elb

This is required because EKS can't detect the type of subnets automatically

  • Change AWS region for tests to us-east-2 since we use it in all our tests and the us-west-1 region is very limited

references

Don't miss a new terraform-aws-dynamic-subnets release

NewReleases is sending notifications on new releases.