diff --git a/CHANGELOG.md b/CHANGELOG.md index ae4dfcdd..c8763673 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,12 +7,13 @@ project adheres to [Semantic Versioning](http://semver.org/). ## Next release -## [[v7.?.?](https://github.com/terraform-aws-modules/terraform-aws-eks/compare/v7.0.0...HEAD)] - 2019-??-??] +## [[v8.?.?](https://github.com/terraform-aws-modules/terraform-aws-eks/compare/v7.0.0...HEAD)] - 2019-??-??] - Test against minimum versions specified in `versions.tf` (by @dpiddockcmp) - Added flag `create_eks` to conditionally create resources (by @syst0m / @tbeijen) - Updated instance_profile_names and instance_profile_arns outputs to also consider launch template as well as asg (by @ankitwal) - **Breaking:** Configure the aws-auth configmap using the terraform kubernetes providers. Read the [docs](docs/upgrading-to-aws-auth-kubernetes-provider.md) for more info (by @sdehaes) +- Removed no longer used variable `write_aws_auth_config` (by @tbeijen) - Updated application of `aws-auth` configmap to create `kube_config.yaml` and `aws_auth_configmap.yaml` in sequence (and not parallel) to `kubectl apply` (by @knittingdev) - Exit with error code when `aws-auth` configmap is unable to be updated (by @knittingdev) - Fix deprecated interpolation-only expression (by @angelabad) diff --git a/README.md b/README.md index 8265e79a..ad09b20b 100644 --- a/README.md +++ b/README.md @@ -177,7 +177,6 @@ MIT Licensed. See [LICENSE](https://github.com/terraform-aws-modules/terraform-a | workers\_additional\_policies | Additional policies to be added to workers | list(string) | `[]` | no | | workers\_group\_defaults | Override default values for target groups. See workers_group_defaults_defaults in local.tf for valid keys. | any | `{}` | no | | workers\_role\_name | User defined workers role name. | string | `""` | no | -| write\_aws\_auth\_config | Whether to write the aws-auth configmap file. | bool | `"true"` | no | | write\_kubeconfig | Whether to write a Kubectl config file containing the cluster configuration. Saved to `config_output_path`. | bool | `"true"` | no | ## Outputs diff --git a/outputs.tf b/outputs.tf index d4e302e0..2478dc2a 100644 --- a/outputs.tf +++ b/outputs.tf @@ -1,6 +1,6 @@ output "cluster_id" { description = "The name/id of the EKS cluster." - value = element(concat(aws_eks_cluster.this.*.id, list("")), 0) + value = element(concat(aws_eks_cluster.this.*.id, list("")), 0) } output "cluster_arn" { @@ -11,7 +11,7 @@ output "cluster_arn" { output "cluster_certificate_authority_data" { description = "Nested attribute containing certificate-authority-data for your cluster. This is the base64 encoded certificate data required to communicate with your cluster." value = element(concat(aws_eks_cluster.this[*].certificate_authority[0].data, list("")), 0) -} +} output "cluster_endpoint" { description = "The endpoint for your EKS Kubernetes API." diff --git a/variables.tf b/variables.tf index 85fcd713..8a04b2e6 100644 --- a/variables.tf +++ b/variables.tf @@ -48,12 +48,6 @@ variable "manage_aws_auth" { default = true } -variable "write_aws_auth_config" { - description = "Whether to write the aws-auth configmap file." - type = bool - default = true -} - variable "map_accounts" { description = "Additional AWS account numbers to add to the aws-auth configmap. See examples/basic/variables.tf for example format." type = list(string)