Commit Graph

220 Commits

Author SHA1 Message Date
Jonathan Boulle
95d4e78f2f Fix variable description typo, regenerate README (#247) 2019-01-15 12:03:48 +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
Brandon J. O'Connor
3fc7cd88f7 Merge pull request #221 from max-rocket-internet/readme_update
Making README example more complete
2018-12-19 23:11:26 -08:00
Max Williams
6810385237 Making README example more complete 2018-12-19 10:44:03 +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
Anton Babenko
23a96e8743 Added pre-commit-terraform to update docs (#217)
* Added pre-commit-terraform to update docs

* Updated .github/PULL_REQUEST_TEMPLATE.md
2018-12-17 09:52:18 +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
Andrew Roth
dfec7b1003 Use sed instead of tail for terraform-docs command (#211) 2018-12-14 10:02:13 +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
Andrew Roth
37f18c17c9 Fix Travis CI config (#212)
* fix #210

* minor enhancements

* Shorten line length
2018-12-13 15:41:18 +01:00
Holger Marquetant
86e71a1280 AWS region was missing in example (#213)
awsRegion missing in example.
It's not working without it.

And added cloudProvider setting.
It's by default "aws" and not necessary at the moment. But it's to important and should be defined if default will change in the future.
2018-12-13 15:38:57 +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
Andrew Lavery
8d3dd6392f Fix a typo in the issue template (#188) 2018-11-13 12:03:40 +01:00
Nic Grayson
e1e265bf21 allow user to overwrite the kubeconfig default args (#129)
* allow user to overwrite the kubeconfig default args

* quote args to auth command
2018-11-01 17:14:07 +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
Brandon J. O'Connor
1652c68a9f Merge pull request #161 from chenrui333/update-version
Update version
2018-10-23 23:37:33 -07:00
Rui Chen
fa0eacedfd remove the checksum step 2018-10-23 20:03:29 -04: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
Rui Chen
b8bc4114fc Ruby ver 2.4.2 -> 2.4.4 2018-10-12 00:31:55 -04:00
Rui Chen
39dbaf2e11 Move env vars into env section 2018-10-12 00:25:19 -04:00
Rui Chen
b6f6c39684 Remove v in v0.11.8 2018-10-12 00:16:48 -04:00
Rui Chen
f4a287dced Better version control 2018-10-12 00:10:15 -04: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
Matthew Caya
cd7e56c821 Fixed issue with 'workers_group_defaults_defaults.iam_role_id' and added explicit depends_on for 'update_config_map_aws_auth' (#147)
* fix worker default 'iam_role_id' dependency

* Add explicit depends_on to eks cluster for 'update_config_map_aws_auth'
2018-10-09 10:38:00 +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
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
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