Skip to content

Commit

Permalink
Merge pull request #1 from darkn3rd/role-policy-support
Browse files Browse the repository at this point in the history
Add support for adding IAM policies to worker nodes
  • Loading branch information
darkn3rd authored Jan 8, 2020
2 parents 1c37aaf + c7e46b7 commit cf99cb3
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ variable "region" {}
variable "instance_type" {
default = "m5.large"
}
variable "workers_additional_policies" {
default = []
}

data "aws_availability_zones" "available" {}

Expand Down Expand Up @@ -41,6 +44,8 @@ module "eks" {
subnets = module.vpc.private_subnets
vpc_id = module.vpc.vpc_id

workers_additional_policies = var.workers_additional_policies

worker_groups = [
{
name = "worker-group-1"
Expand Down

0 comments on commit cf99cb3

Please sign in to comment.