Commit Graph

130 Commits

Author SHA1 Message Date
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
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
Hwanjin Jeong
a4117177f6 Fix typo (#595)
* fix typos

* remove unnecessary comment
2019-11-18 18:10:53 +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
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
Daniel Piddock
813c607e90 Make "dangerous" policy attachments optional (#539) 2019-10-04 14:25:19 +02:00
刘相轩
f98518f050 Update badges (#542) 2019-09-30 19:03:52 +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
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
Xiangxuan Liu
347db3e230 Improve CI pipeline 2019-09-19 10:20:29 +08: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
russwhelan
2b88e506e3 Add URL for OIDC issuer to allow IAM roles for Pods (#506)
* Add URL for OIDC issuer to allow IAM roles for Pods

* Update Documentation
2019-09-16 11:45:35 +02:00
Marcello Romani
f88220a8eb Fix link to docs so it doesn't 404 when published on terraform registry page (#507) 2019-09-13 16:52:10 +02:00
Sergiu Plotnicu
461cf5482e Support for Mixed Instances ASG in worker_groups_launch_template variable (#468)
* Create ASG tags via for - utility from terraform 12

* Updated support for mixed ASG in worker_groups_launch_template variable

* Updated launch_template example to include spot and mixed ASG with worker_groups_launch_template variable

* Removed old config

* Removed workers_launch_template_mixed.tf file, added support for mixed/spot in workers_launch_template variable

* Updated examples/spot_instances/main.tf with Mixed Spot and ondemand instances

* Removed launch_template_mixed from relevant files

* Updated README.md file

* Removed workers_launch_template.tf.bkp

* Fixed case with null on_demand_allocation_strategy and Spot allocation

* Fixed workers_launch_template.tf, covered spot instances via Launch Template
2019-09-13 16:50:59 +02:00
Ivanich
a47f464221 Allow to set user defined workers role name (#496)
* Allow to set user defined workers role name

* Add changelog entry

* Keep single variable for worker role name
2019-09-12 17:45:04 +02:00
刘相轩
6c3e4ec510 Update to EKS 1.14 (#498) 2019-09-09 10:46:02 +02:00
Daniel Piddock
655a75fbd0 Update cluster_security_group_id doc (#472)
You cannot filter the public cluster endpoint.
2019-08-19 16:34:02 +02:00
Max Williams
6ea3582940 new release (#452) 2019-07-30 16:02:21 +02:00
Karoline Pauls
e876ce20b9 VPC: enable_dns_hostnames = true in examples (#446) 2019-07-30 15:05:08 +02:00
mandarin801
ec64a74019 Update README.md (#436)
fix Error
2019-07-17 12:56:54 +02:00
gbooth27
f1041af57c add cloudwatch log group access (#410)
* add cloudwatch log group access

* update readme for outputs

* update outputs

* fix formatting

* add splat for access to name
2019-06-25 17:04:01 +02:00
till-krauss
ba3377360e Added Option to use KMS key for cloudwatch logs group. (#404) 2019-06-24 12:53:43 +02:00
Gauthier
8260f1095e EKS 1.13 out (#400)
* Update to EKS 1.13

* Revert "Pin terraform version < 0.12"

This reverts commit 4c71b12218378914c276715a85a61ac5aece9fa0.

* Update providers in examples and format
2019-06-20 12:18:12 +02:00
Max Williams
9c3d222bd5 New release: now supporting TF 0.12!! (#399)
* New release: now supporting TF 0.12

* updating precommit hook version
2019-06-19 17:27:25 +02:00
刘相轩
da2c78b8ba Upgrade to terraform 0.12 (#394)
* run terraform upgrade tool

* fix post upgrade TODOs

* use strict typing for variables

* upgrade examples, point them at VPC module tf 0.12 PR

* remove unnecessary `coalesce()` calls

coalesce(lookup(map, key, ""), default) -> lookup(map, key, default)

* Fix autoscaling_enabled broken (#1)

* always set a value for tags, fix coalescelist calls

* always set a value for these tags

* fix tag value

* fix tag value

* default element available

* added default value

* added a general default

without this default - TF is throwing an error when running a destroy

* Fix CI

* Change vpc module back to `terraform-aws-modules/vpc/aws` in example

* Update CHANGELOG.md

* Change type of variable `cluster_log_retention_in_days` to number

* Remove `xx_count` variables

* Actual lists instead of strings with commas

* Remove `xx_count` variable from docs

* Replace element with list indexing

* Change variable `worker_group_tags` to a attribute of worker_group

* Fix workers_launch_template_mixed tags

* Change override_instance_type_x variables to list.

* Update CHANGELOG.md
2019-06-19 09:57:51 +02:00
Yurii Polishchuk
bf5dae00e1 Enable log retention for cloudwatch log groups (#387)
* enable log retention for cloudwatch log groups

* revert version bump

* set default retention to 90 days
2019-06-13 10:03:34 +02:00
Max Williams
d6fa9f48ff Better examples, PR template changes, general tidy up (#375)
* adding 3 examples

* removing old example

* updating PR template

* fix this typo

* update after renaming default example

* add missing launch_template_mixed stuff to aws_auth

* fix 2 examples with public subnets

* update changelog for new minor release
2019-05-08 15:11:05 +02:00
Max Williams
f0838165e2 Fix annoying typo: worker_group_xx vs worker_groups_xx (#374) 2019-05-07 18:22:39 +02:00
Max Williams
ae2f8e58db Adding new mixed type of worker group with instance overrides and mixed instances policy (#371)
* Adding new mixed type of worker group with instance overrides and mixed instances policy

* moving all count and lifecycle rule parameters to top/bottom

* adding custom IAM parts

* updating doc with new options

* fixes for spot instances
2019-05-07 16:50:42 +02:00
Max Williams
2439c25771 Cleaning up and deduplicating launch template related code (#370)
* cleaning up launch template code

* update changelog

* Remove variable worker_group_launch_template_tags

* misc fixes

* fixing and simplifying example
2019-05-07 15:41:44 +02:00
Touch Ungboriboonpisal
959e5330e3 Support custom IAM roles for cluster and workers (#338)
* allow specifying custom worker IAM instance profiles

* allow specifying custom cluster IAM role

* add doc

* update changelog

* use data.aws_iam_instance_profile.name
2019-05-07 14:46:06 +02:00
Max Williams
60dfeca191 Adding 2 new outputs: AMI ID and work user-data (#364)
* Adding 2 new outputs: AMI ID and work user-data

* adding separate outputs to include both
2019-05-07 11:09:44 +02:00
Max Williams
b27b58257d Adding doc about spot instances (#362)
* Adding doc about spot instances

* updating LT worker group details

* updating doc
2019-05-07 10:59:43 +02:00
Max Williams
3ece32fedf Fixes for Launch Templates (#361)
* Fixes for Launch Templates

* update changelog

* add outputs for 3 LT attributes
2019-05-07 10:59:07 +02:00
Ivan Kovnatsky
2b633a107d Fix small typo (#367) 2019-05-02 11:48:09 +02:00
Andrew Roth
b2da12dc6e Add instructions on how to enable the docker bridge network (#352)
Signed-off-by: Andrew Roth <roth.andy@gmail.com>
2019-04-18 09:26:13 +02:00
Scott Crooks
18e00861e4 Adding EKS Control Plane logging options (#340)
* Adding EKS Control Plane logging options

* Added feature addition

* Removing 'optional'

* Adding documentation, and changing variable order

* Using pre-commit instead

* adding IAM instance profiles to outputs, addresses #323 (#329)

* adding IAM instance profiles to outputs

* updating changelog

* updated README
2019-04-11 15:21:09 +02:00
soapergem
fb59e4fef4 adding IAM instance profiles to outputs, addresses #323 (#329)
* adding IAM instance profiles to outputs

* updating changelog

* updated README
2019-04-11 15:12:01 +02:00
Stijn De Haes
7a4484552f Update to 1.12 (#327) 2019-04-03 12:30:58 +02:00
Max Williams
8b2e1c2dd8 Replacing enable_docker_bridge with a generic option called bootstrap_extra_args (#320)
* Replacing enable_docker_bridge with a generic option called bootstrap_extra_args

* making breaking change more obvious
2019-03-26 17:20:39 +01: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
95986471f0 Adding optional name filter variable to be able to pin worker AMI to a release 2019-03-05 14:57:22 +01:00
Anders Åslund
3728299161 Add optional iam_path 2019-03-05 12:31:35 +01:00
gad0lin
dcdf413bad typo fix (#293) 2019-03-05 08:58:57 +01:00