Commit Graph

84 Commits

Author SHA1 Message Date
Sung Kang
28fd3c5530 add ec2:DescribeLaunchTemplateVersions action to worker node iam role 2019-03-07 07:39:44 -06:00
Brandon J. O'Connor
bb9c1b0b54 Merge pull request #284 from tekn0ir/iam_path
Add optional iam_path
2019-03-06 23:09:00 -08:00
Max Williams
7f8ef9a3e3 fix changelog 2019-03-05 15:10:30 +01:00
Anders Åslund
3728299161 Add optional iam_path 2019-03-05 12:31:35 +01:00
Steffen Pingel
d473b71024 Add outputs for cluster role ARN and name (#290)
This enables attaching additional policies, e.g. for using
encrypted volumes, to the cluster.

Signed-off-by: Steffen Pingel <steffen.pingel@tasktop.com>
2019-03-05 08:54:09 +01:00
Anton Babenko
87114b0bd0 Released 2.2.1 2019-02-18 17:51:00 +01:00
Max Williams
ba90fba01f Release v2.2.0 (#270) 2019-02-07 16:51:55 +01:00
Dylan Hellems
a1a1644f80 Add optional permissions_boundary (#265)
* Add optional permissions_boundary

* Update CHANGELOG
2019-02-07 16:38:16 +01:00
yutachaos
d3c1bd6237 Added write_aws_auth_config option (#228)
* Added update aws auth configmap when manage_aws_auth set false case
and `write_aws_auth_config` variable for not create the aws_auth files option

* Add CHANGELOG

* Changed writing config file process for Windows compatibility.

* Apply terraform-docs and terraform fmt

* Fixed zsh-specific syntax

* Fixed CHANGELOG.md
2019-02-01 13:02:41 +01:00
Stefan Sedich
35747d707a Worker group tags (#252)
* Allow per worker group ASG tags to be set

* Format

* Set correct defaults

* Implement hack that will use the first item in the list if a matching item does not exist for the worker group

* Use a map that will map from the worker group name to the tags to get around the issue where list indexing does not work with a list of lists

* Format

* Cleanup

* Fix sample

* README
2019-01-31 15:38:53 +01:00
Stefan Sedich
eac4164c05 Adding the g3s.xlarge instance type ebs optimized mapping (#258)
* Adding the g3s.xlarge instance type ebs optimized mapping

* Changelog
2019-01-30 11:56:52 +01:00
Stefano Zaninetta
39f30e9d58 Add enabled_metrics attributes to autoscaling_group (#256)
* make enabled_metrics property configurable

* update changelog
2019-01-30 11:50:41 +01:00
leonsodhi-lf
dfd5a8f808 Use launch template defaults for launch template userdata (#255)
* User launch template defaults for launch template userdata

* Updated changelog
2019-01-30 11:42:31 +01:00
Stefan Sedich
8473c69f25 Enable create_before_destroy for ASG and enable force_delete to be configured (#250)
* Allow force_delete to be passed to the ASG, and set ASG so that it will create before deletion.

* Set default

* Adding CHANGELOG
2019-01-24 10:48:26 +01:00
Max Williams
89461903b4 Release v2.1.0 (#248)
* Release v2.1.0

🚒

* update this file. What's it for? No one knows.
2019-01-16 13:32:52 +01:00
Erik Lattimore
03c223131f Fix issue where ConfigMap isn't applied to new cluster (#235)
If you are trying to recover a cluster that was deleted, the current
code will not re-apply the ConfigMap because it is already rendered so
kubectl command won't get triggered.

This change adds the cluster endpoint (which should be different when
spinning up a new cluster even with the same name) so we will force a
re-render and cause the kubectl command to run.
2019-01-15 12:14:52 +01:00
Marcello Romani
91eb56f4aa Fix zsh-specific syntax in retry loop within null_resource.update_config_map_aws_auth (#245)
* Fixed zsh-specific syntax, fail if kubectl apply fails after 10 attempts

* Updated CHANGELOG
2019-01-15 12:11:24 +01:00
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
Max Williams
982541a4ec Updates for v2.0.0 release (#216)
* Updates for version 2.0 release

* Updating readme

* update this version file that I've never seen before

* finish changelog updates
2018-12-17 10:50:21 +01:00
Max Williams
e6671e45ae Changing AMI data resource to filter for k8s version of cluster (#215)
* Changing AMI data resource to only use k8s version of cluster

* Reverting this method as it doesn't work
2018-12-17 09:43:53 +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
Diego Rodriguez
1822a677dc Supply count for map_accounts, map_roles and map_users (#205)
* Added map_roles_count and user_roles_count (#1)

* Update readme for new vars

* updated tests to include count

* fix syntax error

* updated changelog

* Added map_accounts_count variable for consistency

* Fix counts in example and user latest terraform-docs to generate readme
2018-12-13 15:50:46 +01:00
Max Williams
6d38ca4ead Small update after adding with-aggregate-type-defaults option to terraform-docs (#209) 2018-12-12 17:07:10 +01:00
Andrew Roth
edbea30cfc Fix #187 for windows compatibility (#207)
* Added ability to choose local-exec interpreter

* Remove accidental extra file

* formatting
2018-12-11 14:55:26 +01:00
Max Williams
0948c20e1d Updating changelog for v1.8.0 (#201) 2018-12-04 15:02:08 +01:00
rmakram-ims
81706207fc Add wait_nodes_max_tries to wait for nodes to be available before applying the kubernetes configurations (#187)
* Add wait_nodes_max_tries to wait for nodes to be available before applying the kubernetes configurations

* Format variables.tf and aws_auth.tf

* Fix template expansion for wait-nodes-ready.tpl

* Ensuring that kubeconfig is created before its use

* Cleanup wait-nodes-ready script

* Simplify logic to retry application of kubernetes config if failed

* Revert file permission change
2018-12-04 09:17:27 +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
Dominik-K
31ec0f7db3 Update documentation for removed configure_kubectl_session (#171)
* Updated description of `config_output_path` & `write_kubeconfig` variables

There's no `configure_kubectl_session` anymore.

* Readme: Updated to remove `configure_kubectl_session`

There's no `configure_kubectl_session` anymore.

* Changelog updated
2018-10-25 17:46:32 +02: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
Max Williams
88f8509e38 Removing 2 providers from the module (#168) 2018-10-17 13:02:57 +02:00
Max Williams
b15e1d7e95 Removing aws_iam_service_linked_role from module (#160) 2018-10-17 13:02:00 +02:00
chenrui
4b09e95d88 Adjust the order and correct/update the info (#163)
* Adjust the order and correct/update the info

* Ensure the file alignment

* Add change to changelog
2018-10-17 10:30:47 +02:00
Bruno Meneguello
d31bf4f83c Add suspended_processes attributes to autoscaling_group (#159) 2018-10-09 14:38:15 +02:00
Max Williams
a36a8512ad Updating changelog for v1.7.0 (#158)
New release 🔥
2018-10-09 11:47:58 +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
Ritchelle Grace Posadas
0ee9d633d3 Added timeout configs and variables to aws_eks_cluster resource (#149)
* Added timeout configs and variables

* Updated CHANGELOG and README

* Added timeout configs and variables

* Updated CHANGELOG and README

* Changed variable names for consistency

* Updated README.md

* Did terraform fmt
2018-10-04 15:57:48 +02:00
Abel González Vidal
1ddd86d812 Note/instruction for people upgrading from 1.4 to remove workstation_external_ip from state (#139) 2018-09-25 12:34:56 +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
Max Williams
4762908d9b Updating changelog for v1.6.0 (#118) 2018-09-04 17:25:38 +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