Skip to content

Commit bf8c324

Browse files
New Release v6.0.0 (#514)
* New Release v6.0.0 * bump required AWS provider version and regeneration of variables/outputs
1 parent 13ee091 commit bf8c324

File tree

7 files changed

+30
-28
lines changed

7 files changed

+30
-28
lines changed

CHANGELOG.md

+13-6
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,20 @@ project adheres to [Semantic Versioning](http://semver.org/).
77

88
## Next release
99

10-
## [[v6.?.?](https://github.com/terraform-aws-modules/terraform-aws-eks/compare/v5.1.0...HEAD)] - 2019-08-??]
10+
## [[v6.?.?](https://github.com/terraform-aws-modules/terraform-aws-eks/compare/v6.0.0...HEAD)] - 2019-10-??]
1111

1212
### Added
1313

14+
- Write your awesome addition here (by @you)
15+
16+
### Changed
17+
18+
- Write your awesome change here (by @you)
19+
20+
# History
21+
22+
## [[v6.0.0](https://github.com/terraform-aws-modules/terraform-aws-eks/compare/v5.1.0...v6.0.0)] - 2019-09-17]
23+
1424
- Added `market_type` to `workers_launch_template.tf` allow the usage of spot nodegroups without mixed instances policy.
1525
- Added support for log group tag in `./cluster.tf` (@lucas-giaco)
1626
- Added support for workers iam role tag in `./workers.tf` (@lucas-giaco)
@@ -22,20 +32,17 @@ project adheres to [Semantic Versioning](http://semver.org/).
2232
- Added output for OIDC Issuer URL (by @russwhelan)
2333
- Added support for Mixed Instance ASG using `worker_groups_launch_template` variable (by @sppwf)
2434
- Changed ASG Tags generation using terraform 12 `for` utility (by @sppwf)
25-
- Removed `worker_groups_launch_template_mixed` variable (by @sppwf)
35+
- **Breaking:** Removed `worker_groups_launch_template_mixed` variable (by @sppwf)
2636

2737
### Changed
2838

2939
- Update to EKS 1.14 (by @nauxliu)
30-
- Support map users and roles to multiple groups (by @nauxliu)
40+
- **Breaking:** Support map users and roles to multiple groups (by @nauxliu)
3141
- Fixed errors sometimes happening during destroy due to usage of coalesce() in local.tf (by @petrikero)
3242
- Removed historical mention of adding caller's IPv4 to cluster security group (by @dpiddockcmp)
3343
- Wrapped `kubelet_extra_args` in double quotes instead of singe quotes (by @nxf5025)
3444
- Make terraform plan more consistent and avoid unnecessary "(known after apply)" (by @barryib)
3545
- Made sure that `market_type` was correctly passed to `workers_launch_template` (by @to266)
36-
- Write your awesome change here (by @you)
37-
38-
# History
3946

4047
## [[v5.1.1](https://github.com/terraform-aws-modules/terraform-aws-eks/compare/v5.1.0...v5.1.1)] - 2019-07-30]
4148

README.md

+12-17
Original file line numberDiff line numberDiff line change
@@ -53,12 +53,6 @@ module "my-cluster" {
5353
* [Spot instances](https://github.com/terraform-aws-modules/terraform-aws-eks/blob/master/docs/spot-instances.md): How to use spot instances with this module.
5454
* [IAM Permissions](https://github.com/terraform-aws-modules/terraform-aws-eks/blob/master/docs/iam-permissions.md): Minimum IAM permissions needed to setup EKS Cluster.
5555

56-
## Release schedule
57-
58-
Generally the maintainers will try to release the module once every 2 weeks to
59-
keep up with PR additions. If particularly pressing changes are added or maintainers
60-
come up with the spare time (hah!), release may happen more often on occasion.
61-
6256
## Testing
6357

6458
This module has been packaged with [awspec](https://github.com/k1LoW/awspec) tests through [kitchen](https://kitchen.ci/) and [kitchen-terraform](https://newcontext-oss.github.io/kitchen-terraform/). To run them:
@@ -101,7 +95,8 @@ The [changelog](https://github.com/terraform-aws-modules/terraform-aws-eks/tree/
10195

10296
## Authors
10397

104-
Created and maintained by [Brandon O'Connor](https://github.com/brandoconnor) - [email protected].
98+
Created by [Brandon O'Connor](https://github.com/brandoconnor) - [email protected].
99+
Maintained by [Max Williams](https://github.com/max-rocket-internet)
105100
Many thanks to [the contributors listed here](https://github.com/terraform-aws-modules/terraform-aws-eks/graphs/contributors)!
106101
107102
## License
@@ -119,15 +114,15 @@ MIT Licensed. See [LICENSE](https://github.com/terraform-aws-modules/terraform-a
119114
| cluster\_enabled\_log\_types | A list of the desired control plane logging to enable. For more information, see Amazon EKS Control Plane Logging documentation (https://docs.aws.amazon.com/eks/latest/userguide/control-plane-logs.html) | list(string) | `[]` | no |
120115
| cluster\_endpoint\_private\_access | Indicates whether or not the Amazon EKS private API server endpoint is enabled. | bool | `"false"` | no |
121116
| cluster\_endpoint\_public\_access | Indicates whether or not the Amazon EKS public API server endpoint is enabled. | bool | `"true"` | no |
122-
| cluster\_iam\_role\_name | IAM role name for the cluster. Only applicable if manage\_cluster\_iam\_resources is set to false. | string | `""` | no |
117+
| cluster\_iam\_role\_name | IAM role name for the cluster. Only applicable if manage_cluster_iam_resources is set to false. | string | `""` | no |
123118
| cluster\_log\_kms\_key\_id | If a KMS Key ARN is set, this key will be used to encrypt the corresponding log group. Please be sure that the KMS Key has an appropriate key policy (https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/encrypt-log-data-kms.html) | string | `""` | no |
124119
| cluster\_log\_retention\_in\_days | Number of days to retain log events. Default retention - 90 days. | number | `"90"` | no |
125120
| cluster\_name | Name of the EKS cluster. Also used as a prefix in names of related resources. | string | n/a | yes |
126121
| cluster\_security\_group\_id | If provided, the EKS cluster will be attached to this security group. If not given, a security group will be created with necessary ingres/egress to work with the workers | string | `""` | no |
127122
| cluster\_version | Kubernetes version to use for the EKS cluster. | string | `"1.14"` | no |
128123
| config\_output\_path | Where to save the Kubectl config file (if `write_kubeconfig = true`). Should end in a forward slash `/` . | string | `"./"` | no |
129124
| iam\_path | If provided, all IAM roles will be created on this path. | string | `"/"` | no |
130-
| kubeconfig\_aws\_authenticator\_additional\_args | Any additional arguments to pass to the authenticator such as the role to assume. e.g. \["-r", "MyEksRole"\]. | list(string) | `[]` | no |
125+
| kubeconfig\_aws\_authenticator\_additional\_args | Any additional arguments to pass to the authenticator such as the role to assume. e.g. ["-r", "MyEksRole"]. | list(string) | `[]` | no |
131126
| kubeconfig\_aws\_authenticator\_command | Command to use to fetch AWS EKS credentials. | string | `"aws-iam-authenticator"` | no |
132127
| kubeconfig\_aws\_authenticator\_command\_args | Default arguments passed to the authenticator command. Defaults to [token -i $cluster_name]. | list(string) | `[]` | no |
133128
| kubeconfig\_aws\_authenticator\_env\_variables | Environment variables that should be used when executing the authenticator. e.g. { AWS_PROFILE = "eks"}. | map(string) | `{}` | no |
@@ -136,23 +131,23 @@ MIT Licensed. See [LICENSE](https://github.com/terraform-aws-modules/terraform-a
136131
| manage\_aws\_auth | Whether to apply the aws-auth configmap file. | string | `"true"` | no |
137132
| manage\_cluster\_iam\_resources | Whether to let the module manage cluster IAM resources. If set to false, cluster_iam_role_name must be specified. | bool | `"true"` | no |
138133
| manage\_worker\_iam\_resources | Whether to let the module manage worker IAM resources. If set to false, iam_instance_profile_name must be specified for workers. | bool | `"true"` | no |
139-
| workers\_role\_name | User defined workers role name. | sting | `""` | no |
140134
| map\_accounts | Additional AWS account numbers to add to the aws-auth configmap. See examples/basic/variables.tf for example format. | list(string) | `[]` | no |
141-
| map\_roles | Additional IAM roles to add to the aws-auth configmap. See examples/basic/variables.tf for example format. | list(map(string)) | `[]` | no |
142-
| map\_users | Additional IAM users to add to the aws-auth configmap. See examples/basic/variables.tf for example format. | list(map(string)) | `[]` | no |
135+
| map\_roles | Additional IAM roles to add to the aws-auth configmap. See examples/basic/variables.tf for example format. | object | `[]` | no |
136+
| map\_users | Additional IAM users to add to the aws-auth configmap. See examples/basic/variables.tf for example format. | object | `[]` | no |
143137
| permissions\_boundary | If provided, all IAM roles will be created with this permissions boundary attached. | string | `""` | no |
144138
| subnets | A list of subnets to place the EKS cluster and workers within. | list(string) | n/a | yes |
145139
| tags | A map of tags to add to all resources. | map(string) | `{}` | no |
146140
| vpc\_id | VPC where the cluster and workers will be deployed. | string | n/a | yes |
147141
| worker\_additional\_security\_group\_ids | A list of additional security group ids to attach to worker instances | list(string) | `[]` | no |
148-
| worker\_ami\_name\_filter | Additional name filter for AWS EKS worker AMI. Default behaviour will get latest for the cluster\_version but could be set to a release from amazon-eks-ami, e.g. "v20190220" | string | `"v*"` | no |
142+
| worker\_ami\_name\_filter | Additional name filter for AWS EKS worker AMI. Default behaviour will get latest for the cluster_version but could be set to a release from amazon-eks-ami, e.g. "v20190220" | string | `"v*"` | no |
149143
| worker\_create\_security\_group | Whether to create a security group for the workers or attach the workers to `worker_security_group_id`. | bool | `"true"` | no |
150-
| worker\_groups | A list of maps defining worker group configurations to be defined using AWS Launch Configurations. See workers\_group\_defaults for valid keys. | any | `[]` | no |
151-
| worker\_groups\_launch\_template | A list of maps defining worker group configurations to be defined using AWS Launch Templates. See workers\_group\_defaults for valid keys. | any | `[]` | no |
144+
| worker\_groups | A list of maps defining worker group configurations to be defined using AWS Launch Configurations. See workers_group_defaults for valid keys. | any | `[]` | no |
145+
| worker\_groups\_launch\_template | A list of maps defining worker group configurations to be defined using AWS Launch Templates. See workers_group_defaults for valid keys. | any | `[]` | no |
152146
| worker\_security\_group\_id | If provided, all workers will be attached to this security group. If not given, a security group will be created with necessary ingres/egress to work with the EKS cluster. | string | `""` | no |
153147
| worker\_sg\_ingress\_from\_port | Minimum port number from which pods will accept communication. Must be changed to a lower value if some pods in your cluster will expose a port lower than 1025 (e.g. 22, 80, or 443). | number | `"1025"` | no |
154148
| workers\_additional\_policies | Additional policies to be added to workers | list(string) | `[]` | no |
155-
| workers\_group\_defaults | Override default values for target groups. See workers\_group\_defaults\_defaults in local.tf for valid keys. | any | `{}` | no |
149+
| workers\_group\_defaults | Override default values for target groups. See workers_group_defaults_defaults in local.tf for valid keys. | any | `{}` | no |
150+
| workers\_role\_name | User defined workers role name. | string | `""` | no |
156151
| write\_aws\_auth\_config | Whether to write the aws-auth configmap file. | bool | `"true"` | no |
157152
| write\_kubeconfig | Whether to write a Kubectl config file containing the cluster configuration. Saved to `config_output_path`. | bool | `"true"` | no |
158153
@@ -167,9 +162,9 @@ MIT Licensed. See [LICENSE](https://github.com/terraform-aws-modules/terraform-a
167162
| cluster\_iam\_role\_arn | IAM role ARN of the EKS cluster. |
168163
| cluster\_iam\_role\_name | IAM role name of the EKS cluster. |
169164
| cluster\_id | The name/id of the EKS cluster. |
165+
| cluster\_oidc\_issuer\_url | The URL on the EKS cluster OIDC Issuer |
170166
| cluster\_security\_group\_id | Security group ID attached to the EKS cluster. |
171167
| cluster\_version | The Kubernetes server version for the EKS cluster. |
172-
| cluster\_oidc\_issuer\_url | The URL on the EKS cluster OIDC Issuer. |
173168
| config\_map\_aws\_auth | A kubernetes configuration to authenticate to this EKS cluster. |
174169
| kubeconfig | kubectl config file contents for this EKS cluster. |
175170
| kubeconfig\_filename | The filename of the generated kubectl config. |

examples/basic/main.tf

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ terraform {
33
}
44

55
provider "aws" {
6-
version = ">= 2.11"
6+
version = ">= 2.28.1"
77
region = var.region
88
}
99

examples/launch_templates/main.tf

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ terraform {
33
}
44

55
provider "aws" {
6-
version = ">= 2.11"
6+
version = ">= 2.28.1"
77
region = var.region
88
}
99

examples/spot_instances/main.tf

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ terraform {
33
}
44

55
provider "aws" {
6-
version = ">= 2.11"
6+
version = ">= 2.28.1"
77
region = var.region
88
}
99

version

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v5.1.0
1+
v6.0.0

versions.tf

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ terraform {
22
required_version = ">= 0.12"
33

44
required_providers {
5-
aws = ">= 2.8"
5+
aws = ">= 2.28.1"
66
local = ">= 1.2"
77
null = ">= 2.1"
88
template = ">= 2.1"

0 commit comments

Comments
 (0)