Commit Graph

375 Commits

Author SHA1 Message Date
Daniel Piddock
45a39a098f Minor tweaks to changelog (#629)
* Tweaks to changelog

* Fix examples link

Existing one does not work.
This is a permanent link to maintain the upgrade hints path
2019-12-11 17:08:33 +01:00
Tomislav Tomašić
124ea7c151 Add destroy time flag (#580)
* Add destroy-time flag

* Update changelog

Fix cluster count

* Fix cluster count

* Fix docs

* Fix outputs

* Fix unsupported attribute on cluster_certificate_authority_data output

Co-Authored-By: Daniel Piddock <33028589+dpiddockcmp@users.noreply.github.com>

* Remove unnecessary flatten from cluster_endpoint output

Co-Authored-By: Daniel Piddock <33028589+dpiddockcmp@users.noreply.github.com>

* Improve description of var.enabled

* Fix errors manifesting when used on an existing-cluster

* Update README.md

* Renamed destroy-time flag

* Revert removal of changelog addition entry

* Update flag name in readme

* Update flag variable name

* Update cluster referencing for consistency

* Update flag name to `create_eks`

* Fixed incorrect count-based reference to aws_eks_cluster.this (there's only one)

* Replaced all incorrect aws_eks_cluster.this[count.index] references (there will be just one, so using '[0]').

* Changelog update, explicitly mentioning flag

* Fixed interpolation deprecation warning

* Fixed outputs to support conditional cluster

* Applied create_eks to aws_auth.tf

* Removed unused variable. Updated Changelog. Formatting.

* Fixed references to aws_eks_cluster.this[0] that would raise errors when setting create_eks to false whilst having launch templates or launch configurations configured.

* Readme and example updates.

* Revert "Readme and example updates."

This reverts commit 18a0746355e136010ad54858a1b518406f6a3638.

* Updated readme section of conditionally creation with provider example.

* Added conditions to node_groups.

* Fixed reversed map_roles check

* Update aws_auth.tf

Revert this due to https://github.com/terraform-aws-modules/terraform-aws-eks/pull/611
2019-12-09 10:06:10 +01:00
Daniel Piddock
7c2c4a6aa5 Bump minimum Terraform to 0.12.9 (#617) 2019-12-09 09:59:26 +01:00
Shan K
143642fda8 remove empty [] to mapRoles in aws-auth (revised) (#619) 2019-12-09 09:56:55 +01:00
Shan K
fb61b48c26 Fix PR merge: #606 (#611)
* Update aws_auth.tf

* aws-auth config map
2019-12-05 16:54:13 +01:00
Shan K
9de5b53cb4 remove empty [] to mapRoles object in aws-auth (#606)
* remove empty [] to mapRoles object in aws-auth

Simply having ${yamlencode(var.map_roles)} in mapRoles for aws-auth 
creates a empty [] at the end after adding the default roles.
Changing it to be added only when its not empty

* Update aws_auth.tf
2019-12-04 18:46:44 +01:00
William Morgan
cf3dcc5c58 Support for EKS Managed Node Groups (#602)
* Finished first cut of managed node groups

* Updated formatting and extra fields.

* Updating Changelog and README

* Fixing formatting

* Fixing docs.

* Updating required Version

* Updating changelog

* Adding example for managed node groups

* Managed IAM Roles for Nodegroups now have correct policies. Tags can now be added to node groups.

* Fixing bug where people could set source_security_group_ids without setting ssh key causing a race condition within the aws provider.

* Adding lifecycle create_before_destroy

* Adding random pet names for create_before_destroy

* Updating per comments.

* Updating required versions of terraform

* Updating per comments.

* Updating vars

* Updating minimum version for terraform

* Change worker_groups_managed_node_groups to node_groups

* Using for_each on the random_pet

* Adding changes recommended by @eytanhanig

* Update node_groups.tf
2019-12-04 18:30:36 +01:00
Max Williams
614d815c3c Misc doc and changelog format changes (#604)
👊
2019-11-28 15:03:26 +01:00
Stijn De Haes
9363662574 Use kubernetes provider to manage aws auth (#355)
This commit changes the way aws auth is managed. Before a local file
was used the generate the template and a null resource to apply it. This
is now switched to the terraform kubernetes provider.
2019-11-28 10:25:13 +01:00
Mary Hayes
b69c8fb759 Run aws-auth Update Commands in Sequence and not Parallel (#592)
* Run aws-auth Update Commands in Sequence and not Parallel

* Update changelog
2019-11-20 13:23:56 +01:00
Joonsung Lee
215dc849e8 Fix broken terraform plan/apply on a cluster < 1.14 (Fix #582) (#600) 2019-11-20 13:19:06 +01:00
Angel Abad
4f3f5b6733 Fix deprecated interpolation-only expression (#594) 2019-11-18 18:16:37 +01:00
Hwanjin Jeong
a4117177f6 Fix typo (#595)
* fix typos

* remove unnecessary comment
2019-11-18 18:10:53 +01:00
Ankit Wal
a43e44f164 Update worker_iam_instance_profile outputs for launch template use (#583)
* Add launch template instance profiles to output

Concat launch template and asg instance profile lists

Signed-off-by: Ankit Wal <ankitwal@gmail.com>

* Update ChangeLog

Added changes made to output in Changelog
Signed-off-by: Ankit Wal <ankitwal@thoughtworks.com>
2019-11-06 17:27:56 +01:00
Daniel Piddock
c0ae644204 Add Action check against minimum versions (#575) 2019-11-04 16:18:19 +01:00
Max Williams
55ff38cc31 Fix changelog for release v7.0.0 (#577)
* New v7.0.0 release

* update version file

* remove one line
2019-10-30 21:22:15 +01:00
Thierno IB. BARRY
0d7ef6ffd6 New release 6.1.0 (#576) 2019-10-30 13:38:51 +01:00
Miguel Ferreira
a8e54ccf73 Use join and splat syntax to access conditional resources (#569) 2019-10-29 13:55:21 +01:00
Scott Stanton
4f552891ff Allow the userdata template to be replaced (#565)
* Allow the userdata template to be replaced

* Address fmt issue

* Rename 'customer_userdata' name to 'userdata_template_file'

* Add support for userdata_template_extra_args

* Add support for userdata_template_extra_args

* fix merge conflicts

* Fix merge problem that dropped the file load
Add `platform` to the template expansion context
Add `userdata_launch_template` to `launch_template_userdata`
2019-10-29 12:12:47 +01:00
Max Williams
c46d5fcb00 Update PULL_REQUEST_TEMPLATE.md (#573) 2019-10-28 15:08:31 +01:00
Joonsung Lee
2d52e06786 Add Windows support (#555)
* Add Windows support

* Assign eks:kube-proxy-windows group to worker nodes

* Add Instructions for adding Windows Workers at FAQ.md

* Remove unnecessary variables from userdata_windows.tpl

* Update CHANGELOG.md
2019-10-28 14:16:45 +01:00
chenrui
be6fa61d0d Add terraform_validate and terraform_tflint pre-commit hooks (#571) 2019-10-25 22:42:32 +02:00
Arnaud Venturi
c90b33780c Increase minimum terraform version to include yamlencode (#570)
* Increase minimum terraform version to include yamlencode

https://github.com/hashicorp/terraform/blob/master/CHANGELOG.md#0122-june-12-2019

* Update Changelog
2019-10-25 11:14:01 +02:00
Miguel Ferreira
3f346d1610 Remove region from vars mapping for kubeconfig (#556)
The template file data source was injecting a region variable that is not defined in the template. Once removed the variable the aws region data source was not used anywhere else, so it is removed as well.
2019-10-24 18:13:06 +02:00
Joshua Spence
4369f0271b Allow config_output_path to specify the full path (#549) 2019-10-21 14:55:29 +02:00
Bruno M. Custódio
c81e1d2fa7 Allow for specifying a custom AMI for the worker nodes. (#551)
Signed-off-by: Bruno Miguel Custódio <brunomcustodio@gmail.com>
2019-10-21 13:04:04 +02:00
Jeff Hastings
2e2f2acada change ebs_optimized mapping to list where not supported (#561)
* change ebs_optimized mapping to list where not supported

* update changelog
2019-10-21 12:57:29 +02:00
Thierno IB. BARRY
1be1a02e23 New release 6.0.2 (#553) 2019-10-07 20:53:31 +02:00
Morgan Christiansson
edcbba64ef Add tags to aws_eks_cluster introduced in terraform-provider-aws 2.31.0 (#550)
- https://github.com/terraform-providers/terraform-provider-aws/pull/10307
- https://aws.amazon.com/about-aws/whats-new/2019/09/amazon-eks-supports-cluster-tagging/
2019-10-04 14:48:53 +02:00
Daniel Piddock
813c607e90 Make "dangerous" policy attachments optional (#539) 2019-10-04 14:25:19 +02:00
Harshal Shah
09635a36b7 remove the launch template mixed variable from examples (#545)
* Add disclaimer for launch template mixed

Or maybe it is better to remove this variable altogether.

* Removing the mixed variable altogether

And updating the existing variable `worker_groups_launch_template`
2019-10-04 11:57:37 +02:00
刘相轩
f98518f050 Update badges (#542) 2019-09-30 19:03:52 +02:00
Wi1dcard
18748a5f38 Update autoscaling.md (#531) 2019-09-27 13:18:31 +02:00
Daniel Piddock
6bd020a041 Expand and clarify the networking section. (#538) 2019-09-27 12:08:05 +02:00
Josh Girón
f3beb8e5fc Update comments for 'asg_recreate_on_change' attribute in 'workers_gr… (#536)
* Update comments for 'asg_recreate_on_change' attribute in 'workers_group_defaults_defaults' for better clarify of what resources it's talking about.

* Expand a few more acronyms and abbreviations.
2019-09-27 09:28:55 +02:00
Thierno IB. BARRY
186c88a34b Add option to enable lifecycle hooks creation (#532)
* add option to enable lifecycle hooks creation

* update changelog
2019-09-26 19:40:41 +02:00
Daniel Piddock
27e6e3d7a9 First FAQ draft (#526)
* First FAQ draft

* Add aws-auth configmap failure

* Mention ASG auto recreation
2019-09-26 13:43:00 +02:00
Thierno IB. BARRY
07c61b6e26 New release 6.0.1 (#528)
* New release 6.0.1
2019-09-25 11:19:16 +02:00
Tatu Seppä-Lassila
39cb93b1da Use null as default value for target group ARNs (#524)
* Use null as default value for target group ARNs
* Update CHANGELOG

close #499
2019-09-24 11:09:44 +02:00
Thierno IB. BARRY
88afa4338d fix docs generation for lint (#523) 2019-09-24 10:02:02 +02:00
Roman Voitenko
f79c790153 Gpu workers support (#515)
* added posibility to use Amazon EKS-Optimized AMI with GPU Support for workers

* updated CHANGELOG.md

* added missing var prefix

* updated Changelog to ver 6.x.x
2019-09-23 17:50:01 +02:00
Thierno IB. BARRY
0cc058c52c Merge pull request #517 from stakater/add-notes
[add-notes] update local.tf file
2019-09-20 21:35:50 +02:00
irti
185cd4499e [add-notes] update the docs/autoscaling.md document 2019-09-21 00:14:03 +05:00
Thierno IB. BARRY
f702467368 Merge pull request #503 from nauxliu/tflint
Improve CI pipeline
2019-09-19 16:43:54 +02:00
Irtiza Ali
0fd7046120 update local.tf by fixing typo 2019-09-19 17:33:09 +05:00
Xiangxuan Liu
347db3e230 Improve CI pipeline 2019-09-19 10:20:29 +08:00
irti
0d49f8265a [add-notes] update local.tf file 2019-09-19 00:13:20 +05:00
Thierno IB. BARRY
b6125b8501 output empty string when cluster identity is empty (#516) 2019-09-18 16:43:01 +02:00
Max Williams
bf8c324761 New Release v6.0.0 (#514)
* New Release v6.0.0

* bump required AWS provider version and regeneration of variables/outputs
2019-09-18 10:01:38 +02:00
Ali Kahoot
13ee0914b9 add doc for iam permission (#511)
* add doc for minimum iam permission

Signed-off-by: kahootali <kahoot.ali@gmail.com>

* refer iam doc in readme

Signed-off-by: kahootali <kahoot.ali@gmail.com>

* remove iam permissions from examples

* set alphabetically the iam permissons
2019-09-17 15:10:13 +02:00