Commit Graph

52 Commits

Author SHA1 Message Date
skang0601
f3ab7c67da Allows worker groups to be created using AWS Launch Templates (#222) 2019-01-10 16:19:19 +01:00
Marcello Romani
646831423a Remove invalid action from policy (#239) 2019-01-10 16:02:37 +01:00
rmakram-ims
9d6740e116 Add ability to pass computed values to cluster_security_group_id and worker_security_group_id (#186)
* Add ability to pass computer values to cluster_security_group_id and worker_security_group_id

* Fix contributer name in CHANGELOG.md

* Format variables.tf file
2018-12-13 17:00:48 +01:00
mark kelly
cddac92757 Destroying cluster causes some issues with removing policies (#196)
* Destroying cluster causes some issues with removing policies

use the force detach

https://www.terraform.io/docs/providers/aws/r/iam_role.html#force_detach_policies

* Destroying cluster causes some issues with removing policies

* formatting

* Destroying cluster causes some issues with removing policies

* CHANGELOG
2018-11-23 14:33:02 +01:00
Zihao Yu
d580369779 Add target_group_arns to worker ASG (#167)
* add target_group_arns to worker default

* add to changelog
2018-10-18 14:13:31 +02:00
Bruno Meneguello
d31bf4f83c Add suspended_processes attributes to autoscaling_group (#159) 2018-10-09 14:38:15 +02:00
Max Williams
ba43786412 Revert "Add suspended_processes attributes to autoscaling_group (#153)" (#157)
This reverts commit c8cc60f46d.
2018-10-09 11:24:42 +02:00
Bruno Meneguello
c8cc60f46d Add suspended_processes attributes to autoscaling_group (#153) 2018-10-09 10:52:12 +02:00
monsterxx03
6de0825644 Add option to change worker placement_tenancy. (#142)
* Add option to change worker placement_tenancy.

* update CHANGELOG.md
2018-10-09 10:46:58 +02:00
Max Williams
5d9d4fb8b8 Allowing 443 to nodes from EKS service (#148) 2018-10-09 10:38:17 +02:00
Max Williams
77a7690b1c Fixing travis config (#151) 2018-10-04 14:47:54 +02:00
Max Williams
3b546a9c1b Fix for ERROR: 'aws_iam_instance_profile.workers' not found (#141) 2018-09-25 22:00:14 +02:00
Max Williams
fdd44c8f38 Cosmetic fixes (#131)
* changing syntax when referring to map keys without lookup function

* Replacing map function with actual maps for easier reading

* replacing map function in example

* replacing map function in workers.tf and readme/main

* update changelog
2018-09-25 12:30:56 +02:00
Andrew Lavery
b623bc234a allow specifying an IAM role for each worker group (#137)
* allow creating an IAM role for each worker group

* moved change from 'changed' to 'added'

* create multiple roles not just profiles

* fix config_map_aws_auth generation

* don't duplicate worker-role templating

* specify ARNs for worker groups individually

todo fix aws_auth configmap

* fixed AWS auth

* fix aws_iam_instance_profile.workers name
fix iam_instance_profile fallback

* fix outputs

* fix iam_instance_profile calculation

* hopefully fix aws auth configmap generation

* manually fill out remainder of arn

* remove depends_on in worker_role_arns template file

this was causing resources to be recreated every time

* fmt

* fix typo, move iam_role_id default to defaults map
2018-09-24 16:08:35 +02:00
Samuel Fredrickson
b6f6a82352 Add worker group option to protect from scale in. (#135)
See [#134](https://github.com/terraform-aws-modules/terraform-aws-eks/issues/134)
2018-09-18 11:24:52 +02:00
Touch Ungboriboonpisal
0448350468 Fix default worker autoscaling_enabled not working (#130) 2018-09-12 11:18:00 +02:00
Touch Ungboriboonpisal
50404a785b fix default worker subnets not working (#122) 2018-09-11 18:03:23 +02:00
mr-joshua
0180644770 Allow additional security groups to be included in worker launch configurations (#112)
* Allow additional security groups to be included for all workers and each worker group #47

* update changelog with reference to issue and be more descriptive

* Update CHANGELOG.md

* address pr comments and rebase

* rebase

* fix bug introduced by PR#115 that sets the AMI id to the default value of "" always

* rebase

* align default value of additional_security_group_ids to be pulled from local var workers_group_defaults_defaults
2018-09-04 17:09:24 +02:00
Max Williams
da6ff7d151 Fix for "" AMI ID error in PR 115 (#117)
* Fix for "" AMI ID

* update changelog
2018-09-04 16:31:23 +02:00
Touch Ungboriboonpisal
5531776e2c Allow a custom AMI to be specified as a default (#115)
* fallback to the default workers group ami_id before the official one

* add CHANGELOG
2018-09-04 12:31:16 +02:00
Daniel Piddock
23647950ad Easier overriding of workers_group_defaults (#107) 2018-08-30 11:21:46 +02:00
Max Williams
949c4428dc reverting calculation of count for worker groups 2018-08-27 17:18:14 +02:00
Max Williams
28f7e9dd41 initial commit 2018-08-27 17:17:32 +02:00
Kevin Pankonen
0c4f27d38a add option to disable enhanced monitoring on workers 2018-08-13 07:39:36 -07:00
Dongseob Park
c3b1822dfb add spot_price option to aws_launch_configuration 2018-08-07 01:59:11 +00:00
Andrew Lavery
5b1cf24931 add var 'worker_group_count' to replace 'length()' calls 2018-07-19 10:38:15 -07:00
Bill Wang
5e941e1c1e Merge branch '#57' of https://github.com/ozbillwang/terraform-aws-eks into #57 2018-07-13 12:31:08 +00:00
Bill Wang
0bc357af26 #57 - manage root volume size and type 2018-07-13 12:30:53 +00:00
Bill Wang
9a6c4be21b rollback the change - can't update launch configuration 2018-07-13 16:35:25 +10:00
Bill Wang
fb69e4c034 can't update launch configuration 2018-07-13 16:13:12 +10:00
Bill Wang
f6da03ab79 merge upstream with release v1.3.0 2018-07-13 15:05:19 +10:00
Bryan Shelton
399f1f213e Optionally define worker subnets 2018-07-11 14:20:14 -07:00
Max Williams
11cd282ec1 reverting some changes after feedback 2018-07-10 10:21:28 +02:00
Bill Wang
2173bbcfa9 #57 - manage root volume size and type 2018-07-09 23:59:34 +00:00
Max Williams
f881745f00 formatting and minor cosmetic fixes 2018-07-09 12:19:16 +02:00
Bill Wang
541f6351fe #34 - asg size changes should be ignored - desired_capacity 2018-06-26 02:36:54 +00:00
Ilya Sotkov
02dc6849fb Fix limiting behavior of workers_ingress_cluster security group
* New variable `worker_sg_ingress_from_port` allows to change the minimum port number from which pods will accept communication
* See https://github.com/terraform-aws-modules/terraform-aws-eks/issues/27
2018-06-23 19:41:41 +03:00
Brandon J. O'Connor
ee66e1df65 Merge pull request #17 from dreamteam-gg/allow_adding_ssh_keys_to_workers
Allow adding SSH keys to worker ASGs
2018-06-15 13:26:12 -07:00
Igor Borodin
6fad724abd Adding configuration for public ip association, moving to name_prefix in worker launch config 2018-06-15 16:28:30 +03:00
Igor Borodin
b075388ebe Allow adding SSH keys to worker ASGs 2018-06-14 14:51:37 +03:00
brandoconnor
60e2259e92 added output for asg 2018-06-11 13:08:03 -07:00
brandoconnor
30e4c5ec9c updated ebs optimized types to match that of the dedicated module 2018-06-11 12:01:33 -07:00
brandoconnor
6bda7ee97d workers can now be specified as multiple asgs of different flavors. BYO security group now possible for both workers and cluster 2018-06-11 03:34:13 -07:00
Kevin Pullin
0107a9b914 Support creating multiple worker auto scaling groups, similar to KOPS 2018-06-08 16:40:50 -07:00
brandoconnor
0ec5df4cae ebs optimization of instances now possible 2018-06-08 04:00:12 -07:00
brandoconnor
3823127b07 byo userdata now enabled. refactor some parts into dedicated templates for maintainability 2018-06-08 02:16:26 -07:00
brandoconnor
46e5bf6cda added the ability to optionally specify worker_image_id 2018-06-08 00:48:17 -07:00
brandoconnor
67d2946b58 readme now has instructions for basic kubectl operation testing. locals map used to aid in userdata 2018-06-07 02:52:43 -07:00
brandoconnor
6a137f751e somehow missed fmt 2018-06-06 22:32:15 -07:00
brandoconnor
6dab721b2e adding tags I didnt realize were necessary 2018-06-06 22:17:12 -07:00