Commit Graph

239 Commits

Author SHA1 Message Date
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
gad0lin
dcdf413bad typo fix (#293) 2019-03-05 08:58:57 +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
Anton Babenko
6005cecd8a Merge pull request #272 from syst0m/master
Added output for generated kubeconfig filename
2019-02-18 17:38:52 +01:00
Tomislav Tomašić
28bf0c14a4 Added handling for disabled kubeconfig 2019-02-18 16:32:37 +00:00
syst0m
e8071b361c Added output for generated kubeconfig filename. 2019-02-07 17:27:42 +00: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
skang0601
a23c43caf2 Updating example IAM docs to include Launch Template actions (#268) 2019-02-07 16:37:18 +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
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