Skip to content

Commit

Permalink
Merge pull request #57 from hashicorp/eks-module-17-24
Browse files Browse the repository at this point in the history
  • Loading branch information
im2nguyen authored Jan 7, 2022
2 parents a0d30b0 + 0b8149e commit e48b238
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 65 deletions.
76 changes: 18 additions & 58 deletions .terraform.lock.hcl

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 2 additions & 7 deletions eks-cluster.tf
Original file line number Diff line number Diff line change
@@ -1,15 +1,10 @@
module "eks" {
source = "terraform-aws-modules/eks/aws"
version = "17.24.0"
cluster_name = local.cluster_name
cluster_version = "1.20"
subnets = module.vpc.private_subnets

tags = {
Environment = "training"
GithubRepo = "terraform-aws-eks"
GithubOrg = "terraform-aws-modules"
}

vpc_id = module.vpc.vpc_id

workers_group_defaults = {
Expand All @@ -21,8 +16,8 @@ module "eks" {
name = "worker-group-1"
instance_type = "t2.small"
additional_userdata = "echo foo bar"
asg_desired_capacity = 2
additional_security_group_ids = [aws_security_group.worker_group_mgmt_one.id]
asg_desired_capacity = 2
},
{
name = "worker-group-2"
Expand Down

0 comments on commit e48b238

Please sign in to comment.