Skip to content

Commit 6a72a71

Browse files
committed
This reverts commit fb61b48.
1 parent fb61b48 commit 6a72a71

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

CHANGELOG.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ project adheres to [Semantic Versioning](http://semver.org/).
1212
- Test against minimum versions specified in `versions.tf` (by @dpiddockcmp)
1313
- Support for AWS EKS Managed Node Groups. (by @wmorgan6796)
1414
- Updated instance_profile_names and instance_profile_arns outputs to also consider launch template as well as asg (by @ankitwal)
15-
- Added a if check on `aws-auth` configmap when map_roles is empty.
1615
- **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)
1716
- 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)
1817
- Exit with error code when `aws-auth` configmap is unable to be updated (by @knittingdev)

aws_auth.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ resource "kubernetes_config_map" "aws_auth" {
5353
data = {
5454
mapRoles = <<EOF
5555
${join("", distinct(concat(data.template_file.launch_template_worker_role_arns.*.rendered, data.template_file.worker_role_arns.*.rendered)))}
56-
%{if var.map_roles == []}${yamlencode(var.map_roles)}%{endif}
56+
%{if var.map_roles != []}${yamlencode(var.map_roles)}%{endif}
5757
EOF
5858
mapUsers = yamlencode(var.map_users)
5959
mapAccounts = yamlencode(var.map_accounts)

0 commit comments

Comments
 (0)