Commit Graph

611 Commits

Author SHA1 Message Date
Kevin Lefevre
4c1f272e29 feat: Allow to choose launch template version for Managed Node Groups when create_launch_template is set to true (#1419) 2021-06-04 00:07:03 +02:00
LAKostis
1e2c32430f feat: Add capacity_rebalance support for self-managed worker groups (#1326) 2021-06-03 23:41:39 +02:00
Patrick Moelk
bf4fd83a85 docs: Add iam:TagOpenIDConnectProvider to list of necessary permissions (#1423) 2021-06-02 15:03:40 +02:00
SNA
686193ed4e feat: Add var.wait_for_cluster_timeout to allow configuring the wait for cluster timeout (#1420) 2021-06-01 23:10:31 +02:00
Thierno IB. BARRY
6ad44056e3 chore: Fix typo in upgrades docs 2021-05-28 22:22:40 +02:00
Thierno IB. BARRY
6c1eff7c10 chore: Update changelog (#1414) 2021-05-28 22:14:58 +02:00
Thierno IB. BARRY
f993c3622a fix: Fix AMI filtering when the default platform is provided in var.workers_group_defaults (#1413) 2021-05-28 22:12:29 +02:00
Thierno IB. BARRY
1d848b56bf fix: Remove duplicated security group rule for EKS private access endpoint (#1412)
NOTES: In this bug fix, we remove a duplicated security rule introduced during a merge conflict resolution in [#1274](https://github.com/terraform-aws-modules/terraform-aws-eks/pull/1274)
2021-05-28 21:11:02 +02:00
Thierno IB. BARRY
2df401fe7f chore: Update changelog (#1408) 2021-05-28 16:52:54 +02:00
Thierno IB. BARRY
65f5e2e497 fix: Don't add tags on network interfaces because it's not supported yet in terraform-provider-aws (#1407) 2021-05-28 16:49:15 +02:00
Thierno IB. BARRY
3529caeeb8 chore: Update changelog (#1405) 2021-05-28 15:33:43 +02:00
Thierno IB. BARRY
73c5107724 fix: Default root_volume_type must be gp2 (#1404) 2021-05-28 15:31:41 +02:00
Thierno IB. BARRY
1dc56fd5ab chore: Update changelog (#1402) 2021-05-28 15:03:38 +02:00
Marc Haase
796cbead2f feat: Add ability to use Security Groups as source for private endpoint access (#1274)
BREAKING CHANGES: The private endpoint security group rule has been renamed to allow the use of CIDR blocks and Security Groups as source. This will delete the `cluster_private_access` Security Group Rule for existing cluster. Please rename by `aws_security_group_rule.cluster_private_access[0]` into `aws_security_group_rule.cluster_private_access_cidrs_source[0]`.

Co-authored-by: Thierno IB. BARRY <ibrahima.br@gmail.com>
2021-05-28 14:56:02 +02:00
Thierno IB. BARRY
fcc2fdc993 feat: Define Root device name for Windows self-managed worker groups (#1401)
NOTES: Since we now search only for Linux or Windows AMI if there is a worker groups for the corresponding plateform, we can now define different default root block device name for each plateform. Use locals `root_block_device_name` and `root_block_device_name_windows` to define your owns.
2021-05-28 10:35:51 +02:00
Thierno IB. BARRY
d7630ef632 docs: Clarify about the cluster_endpoint_private_access_cidrs usage (#1400) 2021-05-28 02:34:52 +02:00
Thierno IB. BARRY
6d7d6f6f5a feat: Drop random pets from Managed Node Groups (#1372)
BREAKING CHANGES: We now decided to remove `random_pet` resources in Managed Node Groups (MNG). Those were used to recreate MNG if something change and also simulate the newly added argument `node_group_name_prefix`. But they were causing a lot of troubles. To upgrade the module without recreating your MNG, you will need to explicitly reuse their previous name and set them in your MNG `name` argument. Please see [upgrade docs](https://github.com/terraform-aws-modules/terraform-aws-eks/blob/master/docs/upgrades.md#upgrade-module-to-v1700-for-managed-node-groups) for more details.
2021-05-28 01:50:16 +02:00
Thierno IB. BARRY
4818043617 feat: Add multiple selectors on the creation of Fargate profile (#1378)
BREAKING CHANGES: To support multiple selectors for Fargate profiles, we introduced the `selectors` argument which is a list of map. This will break previous configuration with  a single selector `namespace` and `labels`. You'll need to rewrite your configuration to use the `selectors` argument. See [examples](https://github.com/terraform-aws-modules/terraform-aws-eks/blob/master/examples/fargate/main.tf) dans [docs](https://github.com/terraform-aws-modules/terraform-aws-eks/blob/master/modules/fargate/README.md) for details.

Co-authored-by: Lena <lena.mantziou@nationwide.co.uk>
2021-05-27 23:00:41 +02:00
Thierno IB. BARRY
8765362093 feat: Rename config_output_path into kubeconfig_output_path for naming consistency (#1399)
BREAKING CHANGES: The  variable `config_output_path` is renamed into `kubeconfig_output_path` for naming consistency. Please upgrade your configuration accordingly.

NOTES: The kubeconfig file permission is not world and group readable anymore. The default permission is now `600`. This value can be changed with the variable `var.kubeconfig_file_permission`.
2021-05-27 22:59:09 +02:00
Iryna Shustava
4a9fc3af11 feat: Kubeconfig file should not be world or group readable by default (#1114)
Co-authored-by: Thierno IB. BARRY <ibrahima.br@gmail.com>
2021-05-27 22:29:17 +02:00
Alexandre Hamez
7062cd6f94 docs: Add KMS aliases handling to IAM permissions (#1288) 2021-05-27 22:04:48 +02:00
alexmnyc
c43d545158 feat: Add tags on network interfaces (#1362) 2021-05-27 22:01:09 +02:00
Jason Witkowski
6aac9c4961 feat: Add instance store volume option for instances with local disk (#1213) 2021-05-27 21:46:38 +02:00
Thierno IB. BARRY
9571a19028 chore: Check for changelog on pull_request_target only (#1391) 2021-05-25 11:11:00 +02:00
Thierno IB. BARRY
1f22d24df6 fix: Add back depends_on for data.wait_for_cluster (#1389) 2021-05-25 11:06:04 +02:00
Thierno IB. BARRY
45f3b2f3f3 chore: check for changelog only when CHANGELOG.md change (#1390) 2021-05-25 10:56:57 +02:00
Thierno IB. BARRY
80f83fe4af chore: Remove CI tests from checklist in PR template (#1383) 2021-05-24 23:40:59 +02:00
Thierno IB. BARRY
c039e1e7a2 chore: Update changelog (#1388) 2021-05-24 23:13:23 +02:00
Thierno IB. BARRY
7898da2ff7 fix: Bump terraform-provider-http required version to 2.4.1 to avoid TLS Cert Pool issue on Windows (#1387) 2021-05-24 21:54:28 +02:00
SimonDreher
84e7308c6d docs: Add iam:DeletePolicyVersion IAM permissions (#1229) 2021-05-24 11:25:24 +02:00
Vladimir Kurlenya
208f320733 feat: Add ability to forcefully update nodes in managed node groups (#1380) 2021-05-21 10:04:38 +02:00
Thierno IB. BARRY
f024da8276 docs: Update license to Apache 2 License (#1375) 2021-05-20 13:08:36 +02:00
Thierno IB. BARRY
ff4450e297 chore: Update changelog (#1377) 2021-05-19 22:51:03 +02:00
Gireesh Sreepathi
0c38b233d3 docs: Fix cluster autoscaler tags in IRSA example (#1204) 2021-05-19 21:23:35 +02:00
Andrey Devyatkin
70f6150956 docs: Add Bottlerocket example (#1296)
Signed-off-by: Andrey Devyatkin <andrey.devyatkin@fivexl.io>
2021-05-19 21:17:18 +02:00
Thierno IB. BARRY
06e9078bf4 feat: Search for Windows or Linux AMIs only if they are needed (#1371) 2021-05-19 16:47:40 +02:00
Benjamin Ash
a2761ad685 fix: set an ASG's launch template version to an explicit version to automatically trigger instance refresh (#1370)
NOTES: Set an ASG's launch template version to an explicit version automatically. This will ensure that an instance refresh will be triggered whenever the launch template changes. The default `launch_template_version` is now used to determine the latest or default version of the created launch template for self-managed worker groups.

Signed-off-by: Benjamin Ash <bash@intelerad.com>
Co-authored-by: Thierno IB. BARRY <ibrahima.br@gmail.com>
2021-05-19 16:34:59 +02:00
Tamas Millian
a639cf5138 fix: Add description for private API ingress Security Group Rule (#1299) 2021-05-19 15:50:43 +02:00
Thierno IB. BARRY
468a4b5fae chore: update changelog (#1374) 2021-05-19 15:33:43 +02:00
Steve Hipwell
7c654a62b7 docs: Use IRSA for Node Termination Handler IAM policy attachement in Instance Refresh example (#1373) 2021-05-19 12:40:54 +02:00
Thierno IB. BARRY
91545abd75 fix: Bump terraform-aws-modules/http provider version to support darwin arm64 release (#1369) 2021-05-19 00:04:24 +02:00
Thierno IB. BARRY
acbf51c333 chore: Update changelog (#1363) 2021-05-17 22:23:43 +02:00
Benjamin Ash
68e9df92c3 feat: Add support for Auto Scaling Group Instance Refresh for self-managed worker groups (#1224)
Co-authored-by: Thierno IB. BARRY <ibrahima.br@gmail.com>
2021-05-17 22:12:53 +02:00
Thierno IB. BARRY
32f70afe60 feat: Drop asg_recreate_on_change feature to encourage the usage of Instance Refresh for EC2 Auto Scaling (#1360)
BREAKING CHANGES: This module used `random_pet` resources to create a random name for the autoscaling group to force the autoscaling group to be re-created when the launch configuration or launch template was changed (if `recreate_asg_when_lc_changes = true` was set), causing the instances to be removed and re-provisioned each time there was an update. Those random_pet resources has been removed and in its place there is now a set of functionality provided by AWS and the Terraform AWS provider - Instance Refresh. We encourage those users to move on Instance Refresh for EC2 Auto Scaling.
2021-05-17 16:20:35 +02:00
Thierno IB. BARRY
19e6be9df3 feat: Add timeout of 5mn when waiting for cluster (#1359) 2021-05-17 14:10:33 +02:00
Thierno IB. BARRY
5cbbe80302 fix: Remove provider from required providers (#1357) 2021-05-17 11:06:19 +02:00
Dov Salomon
f7d09a2901 feat: Remove dependency on deprecated hashicorp/template provider (#1297)
BREAKING CHANGES: We remove the dependency on the deprecated `hashicorp/template` provider and use the Terraform built in `templatefile` function. This will broke some workflows due to previously being able to pass in the raw contents of a template file for processing. The `templatefile` function requires a template file that exists before running a plan.
2021-05-17 10:25:38 +02:00
Thierno IB. BARRY
e3bf48bba2 feat: Replace the local-exec script with a http datasource for waiting cluster (#1339)
NOTES: Using the [terraform-aws-modules/http](https://registry.terraform.io/providers/terraform-aws-modules/http/latest) provider is a more platform agnostic way to wait for the cluster availability than using a local-exec. With this change we're able to provision EKS clusters and manage the `aws_auth` configmap while still using the `hashicorp/tfc-agent` docker image.
2021-05-17 10:11:36 +02:00
Thierno IB. BARRY
781f673295 fix: Bump AWS provider version to add Warm Pool support (#1340) 2021-05-06 13:09:31 +02:00
Thierno IB. BARRY
5db15e3d6d ci: Bump terraform-docs to 0.13 (#1335) 2021-05-04 23:30:06 +02:00